G
Guest
Hello,
I would like check if "SharpReader 0.9.6.0" is installed in my workstation
or not.
I have tried to use one script from MS site. It is not working or I have
goofed some where. I need help....
-------------------
dim objComputer
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery _
("Select * from Win32_Product Where Name = 'SharpReader 0.9.6.0'")
For Each objSoftware in colSoftware
Wscript.Echo objComputer.MachineName
'objSoftware.Uninstall()
Next
----------------------
I would like check if "SharpReader 0.9.6.0" is installed in my workstation
or not.
I have tried to use one script from MS site. It is not working or I have
goofed some where. I need help....
-------------------
dim objComputer
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery _
("Select * from Win32_Product Where Name = 'SharpReader 0.9.6.0'")
For Each objSoftware in colSoftware
Wscript.Echo objComputer.MachineName
'objSoftware.Uninstall()
Next
----------------------