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
- :
- Uninstall location in the registry
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
‎Jun 07, 2017
02:37 PM
Uninstall location in the registry
Hi all,
I have an InstallScript MSI project. At install time, I want to store some information to be used at
uninstall time.
I am thinking of creating registry values at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\guid
where guid is the product guid.
At uninstall time I want to read these values. Is it recommend to write and read from this location?
If so, from the installs scripts is there a property that I can use to reference HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
and append the guid?
Or do I need to hardcode HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall and append the guid?
thanks,
Ashish
I have an InstallScript MSI project. At install time, I want to store some information to be used at
uninstall time.
I am thinking of creating registry values at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\guid
where guid is the product guid.
At uninstall time I want to read these values. Is it recommend to write and read from this location?
If so, from the installs scripts is there a property that I can use to reference HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
and append the guid?
Or do I need to hardcode HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall and append the guid?
thanks,
Ashish
(2) Replies
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 08, 2017
06:17 AM
I would suggest you create your own product key in HKEY_LOCAL_MACHINE\Software\\ . That's what we do and afaik is standard industry practice.
So for example I work for a company called Cristie and we have a product called CBMR (don't think I'm giving too much away there!), so I use: HKEY_LOCAL_MACHINE\Software\Cristie\CBMR
Under that key I add items like product version no, installation path and product settings.
Hope that helps.
So for example I work for a company called Cristie and we have a product called CBMR (don't think I'm giving too much away there!), so I use: HKEY_LOCAL_MACHINE\Software\Cristie\CBMR
Under that key I add items like product version no, installation path and product settings.
Hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 08, 2017
10:17 AM
x2 - Good advice ^^ there.
Chad
Chad
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)