Hey Guys,

Thanks for the replies.

Regardless of the locale (remote or local) the error I am receiving seems syntactical, e.g., this code does not convert to kixtart:

Const ALL_USERS = True
Set objService = GetObject("winmgmts:")
Set objSoftware = objService.Get("Win32_Product")
errReturn = objSoftware.Install("c:\scripts\database.msi", , ALL_USERS)

should translate to:

$objWMIService = GetObject("winmgmts:\root\cimv2").Get("Win32_Product")
$errReturn = $objWMIService.Install("c:\blahblah\testapp.msi", , ALL_USERS)

When you run the above code, you get this error:

Win32_Product
ERROR : expected ')'!
Script: C:\Temp\scripts\testinst.kix
Line : 5

Line5 -- > $errReturn = $objWMIService.Install("c:\blahblah\testapp.msi", , ALL_USERS)

Any ideas?