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

Posted on 2006-07-19
Last Modified: 2013-11-14
please help
Question by:itbabe

Author Comment

ID: 17139106
the program was installed via an msi ,  should be detected via the productcode of an msi

Expert Comment

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...


Expert Comment

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

Author Comment

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

Accepted Solution

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

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