I need to find the product GUID for an installed MSI file in order to perform maintenance such as patching
, uninstall
(how-to uninstall) and also for auditing purposes
.
This question is related to
powershell
wix
windows-installer
installation
uninstallation
There is also a very helpful GUI tool called Product Browser which appears to be made by Microsoft or at least an employee of Microsoft.
It can be found on Github here Product Browser
I personally had a very easy time locating the GUID I needed with this.
If you have too many installers to find what you are looking for easily, here is some powershell to provide a filter and narrow it down a little by display name.
$filter = "*core*sdk*"; (Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall).Name | % { $path = "Registry::$_"; Get-ItemProperty $path } | Where-Object { $_.DisplayName -like $filter } | Select-Object -Property DisplayName, PsChildName
Source: Stackoverflow.com