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
- :
- Deletion of Registry entries
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
Oct 14, 2009
09:22 AM
Deletion of Registry entries
An application is un-installed and it is deleting the main folder registry key, which had subkeys specific to itself and also other subkeys created by other applications. Due to deletion of main folder key, other applications are facing problems. I need help in resolving this issue.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 15, 2009
07:24 AM
I assume you're using an InstallScript project. If so, you can solve your issue by creating the registry keys that you don't want to be automatically removed in script, inside a Disable(Logging)/Enable(Logging) block.
Then in one of the events that happen at the end of your uninstall, check to see if the if main level registry key is empty, and remove it accordingly.
As I remember it, InstallScript projects will delete any registry key that they have created (and logged as created), so you must "hide" any keys that you don't necessarily want to remove.
Then in one of the events that happen at the end of your uninstall, check to see if the if main level registry key is empty, and remove it accordingly.
As I remember it, InstallScript projects will delete any registry key that they have created (and logged as created), so you must "hide" any keys that you don't necessarily want to remove.