cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
saga123
Level 2

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.
Labels (1)
0 Kudos
(1) Reply
KathyMorey
Level 10

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.
0 Kudos