(imported comment written by SystemAdmin)
There is a parameter to the setup.exe called INSTALLDIR that I think you could use.
The following is from the file \BES Installers\Client Installation Options.html
==========================================
Tivoli Endpoint Manager Client
Command Line Options
/s
Installs the client silently
INSTALLDIR="
installdir
"
Installs the client into the specified directory
Example:
setup.exe /s /v"INSTALLDIR=“C:\Program Files\BigFix Enterprise\BES Client” /qn"
Installing the Tivoli Endpoint Manager Client with a Relay
To install a client with a parent relay already configured, create a text file called “besrelay.cfg” and place it in the client install directory. The file should contain one line: "IP:
relayIP
", where “relayIP” is the IP of the client’s parent relay.
Tivoli Endpoint Manager Client MSI
Command Line Options
INSTALLDIR="
installdir
"
Installs the client into the specified directory
Example:
msiexec /i BESClientMSI.msi INSTALLDIR=“C:\Program Files\BigFix Enterprise\BES Client”
==========================================
So for the exe, I could see something like working (assuming OPSDRIVE is in the format “D:” :
setup.exe /s /v"INSTALLDIR="%OPSDRIVE%\Program Files\BigFix Enterprise\BES Client" /qn"
Martin Carnegie
Gulf Breeze Software Partners
http://www.gulfsoft.com