
ejesuraj1.5524899854146152E12 asked a question.
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
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?