I have a project that during installation gathers data to place into the programs app.config file. I can get it to add to the config file without issue, though I have ran into the problem of running the MSI under modify to update these settings.
When you run the MSI in maintenance and select the modify button, it leads to the configuration dialogs (that is also present in initial installation) to edit the properties that are used to edit the config file. The issue is that this does not actually modify the config file.
I have found that if I call "Reinstall one or more features" during the modify process it will update the file. I'm not fond of this solution because it will reinstall the entire project, and making a new feature just for the config file seems like overkill (and the config file is not a feature).
Am i missing something like an Ai_XmlConfig call/condition?
FOLLOW US
Get the latest news in Application Packaging