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.
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)
Please log in to answer
Posted by:
itolutions
13 years ago
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
13 years ago
Do uninstall string gets calledIn 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
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.