Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 104
OCT or Config.xml 2 60
Output in PHP throwing alignment of data off issue 12 43
Windows Restrict installation 11 38
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.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.

838 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