Let’s start with a built-in Windows WMI tool: wbemtest.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: