473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Click once and exe.config file

I'm about to release a application to a customer. This app uses a
config file to store connection settings. I'd like to be able to create
a "Click Once" installer, as this will remove lots of dependency issues
that are likely to arise with this app. However, my understanding of
click once is that the application is installed to a obscure location,
thus making it difficult for the customer to locate the config file in
order to edit the settings.

Is there an easy way around this, or given the requirements, would I be
best advised to create a traditional installer package?

I'd be grateful for any comments, as its vital I get this working
correctly!

Greg.

Aug 25 '06 #1
1 1723
You can use the new Settings properties of your project. Then provide
an interface by which your users can modify the settings. Alternately,
y ou can store settings in the registry, which may be a better option
(i'm not sure if Settings get carried forward on upgrades).

Greg wrote:
I'm about to release a application to a customer. This app uses a
config file to store connection settings. I'd like to be able to create
a "Click Once" installer, as this will remove lots of dependency issues
that are likely to arise with this app. However, my understanding of
click once is that the application is installed to a obscure location,
thus making it difficult for the customer to locate the config file in
order to edit the settings.

Is there an easy way around this, or given the requirements, would I be
best advised to create a traditional installer package?

I'd be grateful for any comments, as its vital I get this working
correctly!

Greg.
Aug 25 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: DraguVaso | last post by:
Hi, I have a Windows Service running (made in VB.NET), and wanted to be able to change from time to time some parameters by changing them in the App.config. But it seems that the application...
0
by: Philippe Trottier | last post by:
Hi! I want to publish with click once an application that uses Enterprise Library, but since we use Enterprise Library, we need to deploy config files like dataConfiguration.config. So if I try...
1
by: Earl Teigrob | last post by:
PROBLEM: When a user control is loaded into a PlaceHolder control more than once, the events do not fire on the first click of a control on the dynamically loaded user control. In other words, the...
5
by: Flip | last post by:
I have a web app running on w2k3server, and I have an application level variable for a counter. Every once in a while today (I just put this live last night), that counter value is reset to 1 when...
2
by: Randall Parker | last post by:
Is there an event that will run once when either we tell IIS that we've changed the source code for the site or when the server reboots? What I'm trying to do: I want to have a file that tells my...
0
by: ChanKaiShi | last post by:
Anybody has any idea how to access and modify settings in application which was deployed using Click-Once technology. If I deploy using standard method I can modify .config file but what do I do...
3
by: DarkPilgrim | last post by:
I'm a bit new to PHP and there is something I'm not sure whether PHP can grant. Given my web application has some codes that only need to be executed once(eg.configuration used over the whole...
6
by: Lord Zoltar | last post by:
I built a small app with VS C# Express 2008, and published it as a click-once app. I tried installing it on my local machine, and when I click on its icon from the Start menu, nothing happens....
0
by: stephen | last post by:
Hi, I am using Click Once Deploy to deploy an application.(this application has an .exe, .config, .xml files) and after deployment to a location, I checked for the files and all the files are...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.