Hello,
I'm trying to create an installer that will allow for side by side installations however I want the installer to modify some entries in an INI file while leaving other entries untouched.
Basically I want the user to install either of 2 major versions of an application that use an INI file for configuration. Some of the INI entries may be adjusted by the user from within the application and I want them to be preserved across new installations. Other entries are set to default values that the user cannot modify and will be different between major versions of the application.
I have selected option "allow side by installs of different product versions" in the Upgrades page.
The INI file was imported in the Files and Folders page the to the application folder (which will be in the Application Data folder not Program Files). After I imported the INI file, I picked the entries that I wanted to keep as their default and set them to "Create or update". The items that may be changed by the user were set to "Create only if it does not exist".
With this setup, if I install the different major version over the current application, all INI file entries are reset to their default values in the installer. The entries that were marked as "Create or update" are still being changed even though they already exist.
Is there a way to preserve some INI entries when installing a different major version that I'm not seeing?
Thanks in advance
FOLLOW US
Get the latest news in Application Packaging