Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win 2003 applications installed using vbscript

Status
Not open for further replies.

mizzy

IS-IT--Management
Jun 28, 2001
277
AU
Hi there,

I have a vbscript that checks if a specific application is installed. It uses the Win32_Product to find this out.

Set colItems = objWMIService.ExecQuery("Select * from Win32_Product where IdentifyingNumber =" & Old_Mcafee ,,48)

Unfortunatley this will not work under Windows 2003 as Win32_Product is not installed as standard (and I cannot install it to a couple of hundred servers)

What can I use under Windows 2003 to see if the application is installed?

Many thanks,
 
try
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
 
Cheers Matt, just found it.

I'm using "objRegistry.GetStringValue HKEY_LOCAL_MACHINE etc etc " to help me out there after.

Ta.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top