[python-win32] Finding installed softwares on the remote mach
ine using WMI
Tim Golden
tim.golden at viacom-outdoor.co.uk
Tue Jul 8 17:38:12 EDT 2003
> From: Anthony Catalfo [mailto:apc1964 at yahoo.com]
> this code works great on my xp machine and on one of
> my 2000 machines but fails on another 2000 machine
> with these errors.
[for those who can't see it, the piece of code is this:
wql = """
SELECT * FROM __InstanceCreationEvent WITHIN 2
WHERE TargetInstance ISA 'Win32_PrintJob'
"""
ExecNotificationQuery (wql)
]
[... snip horrendous looking COM error dump ...]
In short, I've no idea. Does the machine in question
definitely have WMI installed? The most recent version
of the wmi module has slightly prettier error handling,
but it still wouldn't point to much. Very difficult
to diagnose at a distance, I'm afraid (and probably
close up, too).
Any one else got any ideas?
TJG
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
More information about the Python-win32
mailing list