- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jul 15, 2013
08:41 AM
Ini Files.
Hello,
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.
Ex.
Before installation:
[Visi]
ExposureTime = 35
FrontLightExposureTime=99
After installation:
[Visi]
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
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.
Ex.
Before installation:
[Visi]
ExposureTime = 35
FrontLightExposureTime=99
After installation:
[Visi]
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
2 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jul 19, 2013
06:44 AM
Hi this works fine when you import an ini file than create an ini key.so try to import the ini file .
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jul 19, 2013
09:18 AM
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.
