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

Ini Files.


I finished creating an installer where, among other things, should I edit an INI file.

The following values and keywords should be added if they do not exist in the file. If the keyword exist, should retain the default value.

For that I use the option "Do Not Overwrite".

But when the installation is completed, the values are changed.

Before installation:
ExposureTime = 35

After installation:
ExposureTime=10 //New value
FrontLightExposureTime=35 //New value

The "action" Do Not Overwrite, should retain the old values. Is this correct?, otherwise, what type of "Action" should I use?

Thank you, Federico

Edit: I'm using InstallShield 2012 Spring - Professional Edition
Labels (1)
0 Kudos
(2) Replies
Level 7

Hi this works fine when you import an ini file than create an ini try to import the ini file .
0 Kudos
Level 7

I am not sure the type of project you are using. In an InstallScript project the Component property of 'Do Not Overwrite' prevents the file transfer but does not prevent the subsequent application of INI or XML changes to the file.
0 Kudos