This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Update XML files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jan 02, 2012
09:24 AM
Update XML files
Hi,
I use some config files in my application (e.g., web.config) that can be modified by the user after the installation. Are there any support by InstallShield, to preserve the changes made by the user when an update of the application is installed? I just can overwrite the config files with the new ones from the update installer - but then I will loose the changes. Can IS handle those cases?
Thanks
Konrad
I use some config files in my application (e.g., web.config) that can be modified by the user after the installation. Are there any support by InstallShield, to preserve the changes made by the user when an update of the application is installed? I just can overwrite the config files with the new ones from the update installer - but then I will loose the changes. Can IS handle those cases?
Thanks
Konrad
(1) Reply
Jan 03, 2012
02:39 AM
The only way I've been able to deal with this in the past is to interrogate the XML files for the relevant info, overwrite the original xml files with the new ones from the upgrade, then modify the default values with the info previously obtained.
During the original install you could save any relevant info to the registry, making obtaining it a tad easier.
HTH
During the original install you could save any relevant info to the registry, making obtaining it a tad easier.
HTH