/build/static/layout/Breadcrumb_cap_w.png

What to do if no Uninstall String found after MSI installation?

Hello, All.

There's an MSI application that has no Uninstall key GUID. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID} so I can't uninstall ot using msiexec /x GUID.

Is there any Property to add in MST so it will produce the key in HKLM?


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Posted by: jagadeish 11 years ago
Red Belt
1

Ensure that RegisterProduct standard action is present in the execute sequence


Comments:
  • Yes. This is the answer. RegisterProduct is not present in MSI. I just added this action together with Publish Product, Components and features - ajcbasilio 11 years ago
Posted by: msalsbury 11 years ago
Second Degree Blue Belt
0

There are lots of possible answers to your question, so I'm going to run down all of them.

If you're running on a 64-bit version of Windows, you'll find that GUIDs are stored in both:

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}
  • HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}

If the application in question was installed without Administrator permission, you might also find it in the HKCU hive rather than HKLM.  (I don't recall where you'd find it in that case, but you might be able to locate it with a search.)

If you have a tool for opening the MSI file (e.g., the free Orca or InstEd editors), look in the Property table for the ProductCode property.  This should work with the MSIEXEC /X command to uninstall it.

Even if you can't find the ProductCode property for some reason, you should also be able to uninstall the application using:

 msiexec /x "\\path\to\msi\yourinstaller.msi"

Where the part inside the quotes above is modified to match the full path to the MSI file that the application was originally installed from.

 

Posted by: M P 11 years ago
Purple Belt
0

Did you try searching for the application's name under the "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" key?  Some software does not populate with a GUID, but instead use the name of the software itself.  For those, like the others that are listed by GUID, have an "UninstallString" value that can be used to uninstall the software with.

Posted by: ajcbasilio 11 years ago
Second Degree Brown Belt
0

 RegisterProduct is not present in MSI. I just added this action together with Publish Product, Components and features

 
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