Find the product GUID of an installed MSI package
Find the product GUID of an installed MSI package with PowerShell or in the uninstall registry keys.
The product GUID (IdentifyingNumber) of an installed MSI package can be retrieved with PowerShell or from the registry. This article rewrites the answer to the Stack Overflow question How can I find the product GUID of an installed MSI setup?.
With PowerShell
Get-WmiObject Win32_Product | Sort-Object -Property Name | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize
In the registry
For MSI products, the uninstall keys use the GUID as the subkey name. Locations to check:
| Location |
|---|
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall |
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall |
HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall |
Notes
Win32_Productis slow and can make Windows Installer run a consistency check on the installed packages. Searching the registry avoids this effect.