This Script works perfectlhy on a WinXP machine.  It does not work on a 
Server2k3 machine.  The error is Line 5, Char: 1, Error: Not Found, Code 
80041002, Source: SWbemServicesEX.  

Any Ideas why this works on XP and not on 2k3?

TIA

Jeremy

strComputer = "." 
Set objWMIService = GetObject("winmgmts:" _
       & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set objSoftware = objWMIService.Get("Win32_Product")


errReturn = objSoftware.Install("c:\uptmagnt-MS-5.0.21-x86.msi",,True)
WScript.Echo errReturn

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to