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: Registry keys keep uninstalling
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 26, 2009
03:11 PM
Registry keys keep uninstalling
Using the registry editor, I have registry keys being created and assigned to a component that gets installed. However, the next time I run the installer, when the keys already exist, they are immediately removed from the registry as soon as the installation starts up, and are not recreated during that install. The component never gets deleted, why are the registry keys being removed?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2009
03:41 PM
Any entry in the RemoveRegistry table?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2009
08:57 AM
i've messed around and I will always create the registry keys during installation, but if they already exist they are always immediately deleted at the beginning of the installation setup. I don't understand why this is happening, I don't have anything set to remove registry keys.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2009
12:57 PM
In the Registry editor, if you right-click the registry keys that you are creating, there are a few options that can be set to control this kind of behavior. Do you have the "Install if absent, Uninstall if present" option selected?
(If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2009
08:07 AM
I have the registry flag set to automatic. I tried changing it to "install if absent, uninstall if present" but it did the same thing.
So I messed around a bit, and figured out if I created the key through the installation, it would immediately uninstall next time I ran the installer. However, if I created the key outside of the installer, it wouldn't delete the key. But this doesn't really solve my problem since I need to create the key from the installer.
So I messed around a bit, and figured out if I created the key through the installation, it would immediately uninstall next time I ran the installer. However, if I created the key outside of the installer, it wouldn't delete the key. But this doesn't really solve my problem since I need to create the key from the installer.