I have a question about configuration with advanced installer. Here is a description of workflow i'm trying to achieve.
I have a multiple configuration files Web.config and Service.config.
Advanced installed allows me to modify these configuration files with properties in the "Edit XML file" dialog. This is very neat, very nice touch.
I also want an option so my customers can modify web.config file after the installation.
Is there any way i could achieve this? What is the preferred way of doing this, what do you guys recommend?
Why do i need this, my product is very generic and it can host several modules, configuration for these modules are in Web.config. Modifying the appconfig is out of the question since every next install or repair would wipe out all modifications.
So my desired flow:
1. Customer fills values in dialogs and installs setup, web.config and service.config are correctly changed.
2. Customer have ability to edit config bypassing the installer and those changes would be applied on every upgrade/repair
What i have tried, and i dont like it:
I have created a initial transformation file at the first install, and executing a XDT transformation on every install/upgrade/repair. Having transformation file on different location this works, but it's ugly.
Its very common to have some customer modifications of web.client and cannot be wiped out by setup. How do you handle this? Do you guys propose any cleaner way of achieving this?
FOLLOW US
Get the latest news in Application Packaging