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: using productName instead of [ProductCode] in uninstall key
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 13, 2007
04:05 PM
using productName instead of [ProductCode] in uninstall key
Hello
by default the installer sets the uninstall registry strings in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]]
Is there a way to have the installer use the productname instead of productcode?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName]]
if so, how do I set up my installshield basic msi project file to do that?
thanks
Yann
by default the installer sets the uninstall registry strings in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductCode]]
Is there a way to have the installer use the productname instead of productcode?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName]]
if so, how do I set up my installshield basic msi project file to do that?
thanks
Yann
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 13, 2007
06:19 PM
While you can change the key in an InstallScript or InstallScript MSI project using the UNINSTALLKEY InstallScript variable, in a Basic MSI project the key is controlled by the engine, and I'm not sure it can be modified.
(Out of curiosity, is there a particular reason you want to change it? The subkey is an implementation detail that users shouldn't explore, and using a GUID instead of words does a better job of avoiding collisions between products, versions, and so forth...)
(Out of curiosity, is there a particular reason you want to change it? The subkey is an implementation detail that users shouldn't explore, and using a GUID instead of words does a better job of avoiding collisions between products, versions, and so forth...)