If the application is installed as an MSI package, you can track
it. If not, WMI will not help as WMI only surfaces MSI installed
applications
Leverage the Win32_Product WMI class in a WQL query such
as:
Select * From __InstanceCreationEvent Within 10 Where
TargetInstance ISA 'Win32_Product'
You can use Sample 6.17 - GenericEventAsyncConsumer.wsf from
volume 1 at http://www.lissware.net
The Sample 3.15 to 3.17 - WMIMSI (JScript).wsf, volume 2 at http://www.lissware.net shows how to use that
class as well.
HTH.
/Alain
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pavan Hotha
Sent: Friday, October 07, 2005 7:09 AM
To: [email protected]
Subject: [ActiveDir] Monitor software installation using WMI
Hi,
I am trying to write a script to monitor the new
software installation on windows XP Prof system. The objective is to
receive a email notification from the system once a new software is installed on
the system. Is it possible to do this ?
Pavan Hotha
This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify [EMAIL PROTECTED] immediately. You should not copy it or use it for any purpose, nor disclose its contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of ADP.
