vbscript : How can a vbscript be used to check whether a program is installed on a pc

please help
itbabeAsked:
Who is Participating?
 
PashaModConnect With a Mentor Commented:
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0
 
itbabeAuthor Commented:
the program was installed via an msi ,  should be detected via the productcode of an msi
0
 
TheVeeeCommented:
Different ways of doing it, could use a file exist if always in the same directory or another way would be check the registry.  The Registery doesnt guarantee that someone doesnt manually delete it.  I would hate to have you have to search through all the directories though.  Hopefully its installed to the same drive and the same directory structure each time... or hopefully theres a place caputured where it should be in a ini file...

0
 
gearslipsCommented:
Is it an app that can be managed by AD/GP?
0
 
itbabeAuthor Commented:
it can be done via objInstaller.productstate (strProductCode)
0
All Courses

From novice to tech pro — start learning today.