/build/static/layout/Breadcrumb_cap_w.png

MSI Uninstall String

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   [ + ] Show comments

Answers (3)

Posted by: itolutions 12 years ago
Purple Belt
0

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.

Posted by: anonymous_9363 12 years ago
Red Belt
0
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.

Comments:
  • 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 ;) - rock_star 11 years ago
Posted by: AngelD 12 years ago
Red Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ