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
- :
- Ini Files.
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 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
- 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
- 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.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)