Find Product GUID for an Installed MSI Package

Let’s start with a built-in Windows WMI toolwbemtest.exe.

  • Launch wbemtest.exe (Hold down the Windows key, tap R, release the Windows key, type in “wbemtest.exe” and press OK).
  • Click connect and then OK (namespace defaults to root\cimv2), and click “connect” again.
  • Click “Query” and type in this WQL command (SQL flavor): SELECT IdentifyingNumber,Name,Version FROM Win32_Product and click “Use” (or equivalent – the tool will be localized).
  • Sample output screenshot (truncated). Not the nicest formatting, but you can get the data you need. IdentifyingNumber is the MSI product code:

Leave a Reply

Your email address will not be published. Required fields are marked *