Deploy to a different drive letter

(imported topic written by SystemAdmin)

I am trying to find a way to deploy the TEM agent to a drive letter other than the C: drive using a system variable. I am having the client deployed via SCCM to our productions servers. They have a system variable called OPSDRIVE. This variable points to either the D: drive or E: drive depending on how the server was setup. How do I pass this information to the setup agent? Do I have to use the setup.exe or the .msi? Any help would be greatly appreciated.

Thanks.

Troy Jessee

(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

(imported comment written by SystemAdmin)

Martin,

Thank you very much for the example. It worked like a charm.