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
- :
- Remmoving registry keys on install
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
Jul 31, 2015
02:34 PM
Remmoving registry keys on install
I am building a msi to set up security zones as part of an update to IE11.
I want to clear out all of the old zone settings that we used for IE9 before installing my new list.
My goal is to completely remove Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains and all subkeys from HLKM and HKCU then replace with my new maps
I am trying to use The Direct Editor RemoveRegisty function in my ism file, but it isn't working
Added the following two entries in the table:
RemoveRegistry (s72): UNINST_HKLM_DOM
Root (i2): 2
Key (I255): SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
Name (L255): -
Component_ (s72): RegistryKeys
RemoveRegistry (s72): UNINST_HKCU_DOM
Root (i2): 1
Key (I255): Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
Name (L255): -
Component_ (s72): RegistryKeys
I want to clear out all of the old zone settings that we used for IE9 before installing my new list.
My goal is to completely remove Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains and all subkeys from HLKM and HKCU then replace with my new maps
I am trying to use The Direct Editor RemoveRegisty function in my ism file, but it isn't working
Added the following two entries in the table:
RemoveRegistry (s72): UNINST_HKLM_DOM
Root (i2): 2
Key (I255): SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
Name (L255): -
Component_ (s72): RegistryKeys
RemoveRegistry (s72): UNINST_HKCU_DOM
Root (i2): 1
Key (I255): Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains
Name (L255): -
Component_ (s72): RegistryKeys
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 04, 2015
09:08 AM
Okay, I found out what it is doing. It is removing the keys on UNinstall, not install.
I may have to go with the custom action since it looks like I have more control.
I may have to go with the custom action since it looks like I have more control.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)