cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
konradMD
Level 3

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
Labels (1)
0 Kudos
(1) Reply
richardh
Level 5

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
0 Kudos