Michael said:
How can show Installed MSI Packages on a NT4 / W2K / Xp Windows System with
Command line tool ?
(Resource KIT ? )
Hi
I haven't seen a command line tool for this, but you can use e.g. vbscript (put
the code below in a .vbs file). To have the output in a command prompt, use
cscript.exe to run the vbscript file.
Set oMsi = CreateObject("WindowsInstaller.Installer")
On Error Resume Next
For Each sProduct in oMsi.Products
sProdName = ""
sProdName = oMsi.ProductInfo(sProduct, "InstalledProductName")
If sProdName <> "" Then
WScript.Echo sProduct & vbTab & sProdName
End If
Next
On Error Goto 0