I was wondering how do the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GUID gets populated through MSI install.(what table and action are involved)

What happen when we click remove button in ARP , Do uninstall string gets called or what is the mechanism.

I tried to change the uninstall string of "X Product" but when i pressed remove button in ARP the "X Product" was uninstalled inspite I had changed the Uninstall string.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity



You may see a DWORD value in an application's Uninstall registry key titled 'WindowsInstaller' with a value of '1'. This value as yet is not documented by Microsoft, however, it appears to signify a product as being deployed via the Windows Installer Service. The following appear to be true on systems using the "Programs and Features" control panel applet that was introduced with Windows Vista:

- With a value of '1', the UninstallString and ModifyPath values are not used in the registry. A static default is used.

- The return code of the setup is checked, and an extra error message is displayed based on the Msiexec.exe failure return code, "Fatal error during installation."

Removing or setting this value to '0' allows you to either use a custom UninstallString, or to avoid an extra error message if the uninstall or maintenance operation doesn't complete successfully. Doing so must take place at the end of the Execute sequence immediately before or after InstallFinalize, since this value appears to be written by one of the 'Publish' actions.

Answered 10/11/2011 by: itolutions
Purple Belt

Please log in to comment
Do uninstall string gets called In a word, no. The string is there for human use. The WI engine uses the WI APIs to install, uninstall, repair and modify installations.
Answered 10/12/2011 by: VBScab
Red Belt

  • sorry for digging out so .. "Do uninstall string gets called " - by this I meant that when i click remove in ARP then what happens .. I am still looking for this one .. couldn't run behind it as i m LAZY ;)
Please log in to comment
Can't recall if this is going to be true or not, but try to change it UninstallString entry under the below registry key instead
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\[Compressed ProductCode]\InstallProperties
Answered 10/18/2011 by: AngelD
Red Belt

Please log in to comment