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

2012-07-25 Thread M Saunders TAS
From http://msdn.microsoft.com/en-us/library/windows/desktop/aa394378%28v=vs.85%29.aspx Win32_Product only lists software installed by Windows Installer (applications installed via msi or msp packages) Parsing the registry key HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall should

Re: [python-win32] Calling GetText_(1)

2011-08-09 Thread M Saunders TAS
On 08/08/2011 17:09, Mitch Oliver wrote: Try: %TEMP%\gen_py\2.x\... That seemed to contain some dummies, but I was able to locate files that had content in site-packages\win32com\gen_py. After deleting the contents of this directory and regenerating only WMI Scripting and WMICntl the code

Re: [python-win32] Calling GetText_(1)

2011-08-08 Thread M Saunders TAS
To: python-win32@python.org Subject: Re: [python-win32] Calling GetText_(1) On Fri, Aug 5, 2011 at 4:16 AM, M Saunders TAS saunders...@we-learn.com wrote: Does c.Msvm_VirtualSystemManagementService()[0] actually return anything? Yes. This returns a wmi_object: _wmi_object: \\server_name\root

Re: [python-win32] Calling GetText_(1)

2011-08-05 Thread M Saunders TAS
Hi, The code works fine for me. I'm equally using python 2.7.2, pywin32 216 and WMI 1.4.9 (have also tested against 1.4.6). Does c.Msvm_VirtualSystemManagementService()[0] actually return anything? Matt -Original Message- From: python-win32-bounces+saunders.m3=we-learn@python.org

Re: [python-win32] How to get a proxy instance of a WMI object.

2011-06-21 Thread M Saunders TAS
[... snip horrendous Powershell stuff ...] I never can understand why people like Powershell syntax so much grin Indeed, it is syntactically horrendous. I wrote that after I hit problem in Python to test the concept, honest... I'm not going to be much help here, I'm afraid: I don't have