cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yann_bertaud
Level 4

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
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

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...)
0 Kudos