Re: [python-win32] Python WMI SCript to get installed software

2012-07-25 Thread Tim Golden
On 25/07/2012 18:23, Carlos Hotmail wrote: Hi all on the list. The following question is regarding an error that raises when i try to execute this script: import _winreg import wmi r = wmi.Registry () result, names = r.EnumKey ( hDefKey=_winreg.HKEY_LOCAL_MACHINE, sSubKeyName="Software"

Re: [python-win32] Python WMI SCript to get installed software

2012-07-25 Thread Tim Roberts
Carlos Hotmail wrote: > Hi all on the list. > > The following question is regarding an error that raises when i try to > execute this script: > import _winreg > import wmi > > r = wmi.Registry () > result, names = r.EnumKey ( > hDefKey=_winreg.HKEY_LOCAL_MACHINE, > sSubKeyName="Software" > )

Re: [python-win32] Python WMI SCript to get installed software

2012-07-25 Thread M Saunders TAS
all" should lead to information regarding other installed software. Matt - Subject: [python-win32] Python WMI SCript to get installed software Hi all on the list. The following question is regardi

[python-win32] Python WMI SCript to get installed software

2012-07-25 Thread Carlos Hotmail
Hi all on the list. The following question is regarding an error that raises when i try to execute this script: import _winreg import wmi r = wmi.Registry () result, names = r.EnumKey ( hDefKey=_winreg.HKEY_LOCAL_MACHINE, sSubKeyName="Software" ) for key in names: print key and this is the