cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sandra
Level 2

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.
Labels (1)
0 Kudos
(1) Reply
Dan_Galender
Level 10

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