Solved

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

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

770 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