cloil
asked on
Batch file to install software -- only if not already installed
Is there a way to write a batch file to locate a particular EXE? If not present it will proceed with the setup of a program... if present it will simply terminate?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, in the :doit label is where you would execute the installer. Either run the setup.exe, or run the MSI using msiexec.exe, or run whatever you would normally have to run to install the software.
Under the :doit list the path to the setup.exe???