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: Delete Registry Key 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
‎Sep 10, 2008
02:09 PM
Delete Registry Key On Install
I need to delete a microsoft caching registry key during my installation. Is there an easy way to do this inside the installshield project? The keys I want to delete is:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}\Enum
AND
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}\Enum
I have written .net code to mod. the registry before but was hoping there wa a nice built in way to do this.
Thanks
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}\Enum
AND
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}\Enum
I have written .net code to mod. the registry before but was hoping there wa a nice built in way to do this.
Thanks
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2008
02:24 PM
What kind of project? If InstallScript, there are RegDBDeleteKey and -DeleteValue functions; for MSI, there's the RemoveRegistry table...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2008
02:29 PM
Its a Basic MSI project. Where might I find that in the project IDE.
Thank you for your reply.
Thank you for your reply.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2008
02:35 PM
You can use the Direct Editor view in the Additional Tools view group; what goes in the RemoveRegistry table is described in the MSI help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2008
03:00 PM
Thanks for your help I almost have it I think. One question...
What is the Componet_ - (s72) field susposed to be? I see I have some options (ISRegistryComponent,ISRegistryComponent1,ISRegistryComponent2,AllOtherFiles) but was not really sure what they wanted. I checked out the help but that didnt do it for me either.
Thanks again.
What is the Componet_ - (s72) field susposed to be? I see I have some options (ISRegistryComponent,ISRegistryComponent1,ISRegistryComponent2,AllOtherFiles) but was not really sure what they wanted. I checked out the help but that didnt do it for me either.
Thanks again.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2008
03:25 PM
You're just picking a component with which the deletion will be associated; is there any component that will "always" be installed (which ensures the key will be deleted)?