Solved: VBScript to Check/Install Software

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

jo15765

Thread Starter
Joined
Oct 11, 2011
Messages
307
I am very new to VB scripts, but am needing one that will when executed 1st check to see if a program is installed, if it is skip the install path for the program (let's call it program 1) and then check program2, if it is installed skip the install for program 2.

Then the flip side, check program 1, if it is not installed install it (the install would be coming from a network drive that the user would have access to) then check program 2 and so on and so forth.
 
Joined
Sep 4, 2003
Messages
4,912
You can either use code to check for existing registry keys that are created during the initial install process or use the DIR function in VB to check to see if a particular file/folder exists in the default installation path which is usually something like C:\Program Files\...\...

This will vary a bit depending on which operating system is installed and keep in mind that Windows 7 has one program files directory for 64bit applications and another for 32bit.

Rollin
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top