I have a .Net application, and I have an
App.Config ( or
web.config) that hosts all the machine specific configuration ( such as connection string, database path, service life time etc). Since the value in App.config is the same for the life time of an application, so they need to be set only once.
The most natural way to do this, is to allow the user to set the values in App.Config after the all the files are properly placed on application folder, but before the installation completes. So, I need a custom action that
- Reads the App.Config file and load the default values into a dialog box
- lets user edit those values
- When OK is clicked, save those values back into App.Config file.
Does Advanced Installer support this out of box? If not, what's the best way to do this?