Returns the name and product code of binary information (such as bitmaps, icons, executable files, and so on) used by a Windows Installer application.

This script was tested using Kixtart 2001 (412) for Microsoft Windows, available from Kixtart.org.

Kixtart
Edit|Remove
$strComputer = "."
$objWMIService = GetObject("winmgmts:\\"+ $strComputer + "\root\cimv2")
$colItems = $objWMIService.ExecQuery("Select * from Win32_Binary")
For Each $objItem in $colItems
    ? "Caption:" + $objItem.Caption
    ? "Data:" + $objItem.Data
    ? "Description:" + $objItem.Description
    ? "Name:" + $objItem.Name
    ? "Product Code:" + $objItem.ProductCode
    ? "Setting ID:" + $objItem.SettingID
Next