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
- :
- keep config file after upgrade
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 09, 2014
09:02 AM
keep config file after upgrade
Hello,
1. I created a sample project which copies a txt file on the target machine. I created an ini file by going in the menu System Configuration. For the action, I selected "Do not overwrite". I let every value by default for the rest.
2. I launch the application which creates me the txt file and the ini file on the target machine.
3. I go again in my sample project and I changed the ini file in the menu System Configuration by changing the value associated to a key. I compile and exectute again the new project.
Result : The setup detected that I am trying to updade. The issue is that the ini file is overwritten.
Question: How to keep config files that would not be overwritten when doing an update.
I am using IS2014 Premium on Windows 7.
1. I created a sample project which copies a txt file on the target machine. I created an ini file by going in the menu System Configuration. For the action, I selected "Do not overwrite". I let every value by default for the rest.
2. I launch the application which creates me the txt file and the ini file on the target machine.
3. I go again in my sample project and I changed the ini file in the menu System Configuration by changing the value associated to a key. I compile and exectute again the new project.
Result : The setup detected that I am trying to updade. The issue is that the ini file is overwritten.
Question: How to keep config files that would not be overwritten when doing an update.
I am using IS2014 Premium on Windows 7.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 21, 2014
03:33 PM
You might try setting the component's setting to Never Overwrite Yes. As it is, since the file was not modified since being installed, the installer considers it fair game to be overwritten.