[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-07-19
6
Medium Priority
?
419 Views
Last Modified: 2013-11-14
please help
0
Comment
Question by:itbabe
5 Comments
 

Author Comment

by:itbabe
ID: 17139106
the program was installed via an msi ,  should be detected via the productcode of an msi
0
 
LVL 5

Expert Comment

by:TheVeee
ID: 17139816
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
 
LVL 1

Expert Comment

by:gearslips
ID: 17155248
Is it an app that can be managed by AD/GP?
0
 

Author Comment

by:itbabe
ID: 17155304
it can be done via objInstaller.productstate (strProductCode)
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 17175047
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Progress
Starting up a Project

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question