Solved

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

Posted on 2006-07-19
6
398 Views
Last Modified: 2013-11-14
please help
0
Comment
Question by:itbabe
6 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Image decoding from Camera 3 72
Base1 Encode/Decode 3 67
Basic Java Case or If-Else statement... 3 43
Full Screen problem when auto scale IFRAME 2 55
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

929 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now