cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
loralynne
Level 6

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
Labels (1)
0 Kudos

(1) Reply
loralynne
Level 6

Anyone have any input on this? Is there a way I can delete a whole section from an INI file?
0 Kudos