Solved

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

Posted on 2006-07-19
6
394 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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 …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

757 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

18 Experts available now in Live!

Get 1:1 Help Now