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
- :
- Deleting sections and keywords from an .ini file
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
Aug 30, 2010
12:54 PM
Deleting sections and keywords from an .ini file
In my Basic MSI project, I created a component with no files in it, just an ini file change associated with it. I marked the component as permanent since the .ini file that I need to edit is in [SystemFolder]. I added a section and keyword/value pairs in the INI File Changes view. These ini entries don't get created by the installer, but rather get generated by the app that gets installed. During uninstall, these entries need to be removed from the .ini file, so I set the action for the keyword to "Remove Whole Value". When I do an uninstall, the ini file gets deleted. Is this a known issue? How do I delete a whole section and a keyword/value pair from an ini file during uninstall?
Any help would be greatly appreciated.
Thanks,
Lora
Any help would be greatly appreciated.
Thanks,
Lora
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 02, 2010
04:41 PM
Anyone have any input on this? Is there a way I can delete a whole section from an INI file?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)