Written
November 17, 2010
I think, the below script is more handy:
>>> import wmi
>>> StrComputer = "."
>>> c=wmi.WMI("StrComputer")
>>> for name in c.win32_product():
print name.caption, name.description, name.InstallDate
You can add more details based on your requirement.