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: Removing/installing registry keys/values
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 06, 2009
08:28 AM
Removing/installing registry keys/values
I've got the following problem. On the pc's in the HLM\Software we have a registry key Oracle in which are other keys and DWORD, string and binaries values. With the installation of an MSI we would like to remove all keys and values in the Oracle key(the Oracle key itself may also be deleted as long as it will be created again). After that new keys, values need to be created in the Oracle key.
I have tried the "Install if absent, uninstall if present (*). That installas/replaces the keys and values that are in the MSI but the ones that aint in it will stay in the registry.
I know i can delete an entire key with the "Uninstall entire key (-)" option. And did try this option in combination with the installation of the keys/values but that didn't had the desired effect.
Proberly someone here can explain me if it and if so how it is possible to do what i want.
I have tried the "Install if absent, uninstall if present (*). That installas/replaces the keys and values that are in the MSI but the ones that aint in it will stay in the registry.
I know i can delete an entire key with the "Uninstall entire key (-)" option. And did try this option in combination with the installation of the keys/values but that didn't had the desired effect.
Proberly someone here can explain me if it and if so how it is possible to do what i want.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 06, 2009
08:32 AM
Look at the help topic "RemoveRegistry Table". Populating the RemoveRegistry table through the Direct Editor should do what you want. It will tie the removal of registry entries to the installation of a component in your MSI.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 07, 2009
02:28 AM
Thank you for your reply that was that i was looking for.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)