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
- :
- Re: How to retain certain registries after uninstallation of the product?
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
‎Sep 22, 2009
11:33 AM
How to retain certain registries after uninstallation of the product?
My project is an InstallScript project.
On installation, a registry key is created as part of another installation. On uninstallation of this product, I want to retain certain registry key and its subkeys.
What should I do to retain such registry keys.
While debugging the script, I see that the registry is there, and is not getting deleted, after rebooting the screen, this registry gets deleted.
Thanks for your help.
Elizabeth
On installation, a registry key is created as part of another installation. On uninstallation of this product, I want to retain certain registry key and its subkeys.
What should I do to retain such registry keys.
While debugging the script, I see that the registry is there, and is not getting deleted, after rebooting the screen, this registry gets deleted.
Thanks for your help.
Elizabeth
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2009
11:31 AM
It depends when you install those registry keys.
In your InstallScript project, if you installed the registry keys in OnFirstUIAfter, then the uninstall registry code is probably in OnMaintUIAfter. But, you probably already knew that.
Are these keys created by default in the InstallScript project? Meaning, there is no code for these registry entries, as InstallShield is managing them behind the scenes?
In your InstallScript project, if you installed the registry keys in OnFirstUIAfter, then the uninstall registry code is probably in OnMaintUIAfter. But, you probably already knew that.
Are these keys created by default in the InstallScript project? Meaning, there is no code for these registry entries, as InstallShield is managing them behind the scenes?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2009
09:53 AM
The Registry keys do get created by calling another script in OnFirstUIAfter, which creates a registry key. On Uninstallation, I do have code in OnMaintUIAfter that calls another script to undo what it did during installation, but will not delete the registry it created. But my Installer removes those registry that were retained. So, it is the InstallShield that is removing these registries. So I need to flag to the InstallShield, so that it does not get removed.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)