Install Guide Documentation
Installing TT Upgrade with Batch Scripts
Command Line (Silent) Upgrades
To perform a “silent” update of a client application that already uses TT Update, the administrator can launch the application via the command line. For example, the command line login syntax for X_TRADER is as follows:
<drive letter>:ttx_traderbinx_trader.exe /ulogin [username] [password]
Example: c:ttx_traderbinx_trader.exe /ulogin MATT 12345678
Similar to a manual login, the command line login checks the client application’s current version to the version rules in TT User Setup. If required, TT Update downloads and installs the appropriate version for that user.
About Unattended Installations
In addition to the standard install program, TT Update can be installed using a command-line installer with optional batch scripts.
If you need to install TT Update on multiple client desktops, you can create installation scripts that do not require you to respond to the dialog boxes in a normal installation. You can supply all of the necessary information in the script so that the command-line installer can install TT Update with no additional human intervention.
About the Command-Line Installer
The command-line installer uses the following syntax:
packagename.exe arg1arg2 … argN
- packagename is the name of the TT Update package to install
- argN is one or more of the supported command-line arguments
Automatically accepts and bypasses the End-User-License Agreement.
Location of the batch installer configuration file. The file contains other command-line arguments to use during the installation. You do not use the leading hyphens in configuration file entries.
Directory in which to create the TT Update configuration files. The default location is <installroot>config.
Directory in which to store TT Update data files. The default location is <installroot>data.
Directory in which to store TT Update files. The default location is <installroot>logfiles.
Directory representing the root TT Update folder. Unless otherwise specified, TT Update stores all files and folders in this root directory. If you do not include the tt folder in the path, the installer automatically creates a tt folder in the specified directory. The default location is <OS root drive>:tt.
Directory in which to store user data files. The default location is <installroot>data.
|--installpathlist=installroot, installconfig, installlog, installuserdata, installdata|
Comma-separated list of installation paths. You can use this argument instead of the individual --install arguments. You must supply the paths in the following order:
If you omit a path, you must account for it with a comma at that position. For omitted paths, the installer uses the corresponding default location.
You cannot omit the installroot path.
Note: You cannot use this argument within a batch installation file.
|--reboot=norestart | promptrestart | force|
Reboot action to use when the installation completes. Choices include:
|--daemonport=<daemon port for local multicast>|
Port number for your local multicast in the Daemon Connection settings dialog - default is 10200.
Multicast IP address for the Daemon Connection Settings dialog - default is 184.108.40.206.
Port number for your remote proxy daemons in the Daemon Connection settings dialog - default is 10200.
|--rpdip1=<IP address>||IP address of a remote proxy daemon - no default is presented.|
IP address of a remote proxy daemon - no default is presented.
Bypasses the presentation of the Define Daemon Connection Settings dialog. You hould make sure all needed multi-cast and proxy daemon ports are set properly when using this switch.
Bypasses the confirm migration dialog and accepts the migration.
Specifying Arguments on the Command Line
If you need only to make minor changes to the default installation from workstation to workstation, you can specify the custom arguments on the command line and accept the default values for the others.
Note: The command line limits the number of characters to 211. If you need to use more characters for the arguments, you must create a configuration script and use the --installconfig argument. Also, if an argument value includes spaces, you must enclose the value in quotation marks.
The following examples illustrate some different ways you can automate an TT Updateinstallation using the command line:
To install TT Update in the default location (c:tt), store configuration files in the cfg directory, and force a reboot after installation, you could use the following command:
tt_update_r7.17.10p11.exe –a --installconfig=c:ttcfg --reboot=force
To install TT Update in c:program filestt, user data in the userdata directory, and application data in the sysdata directory, with no reboot, you could use the following command:
tt_update_r7.17.10p11.exe –a --installpath=”c:program files”,,, c:ttuserdata,c:ttsysdata --reboot=norestart
Supplying a Configuration Script on the Command Line
For more customized installations, you can create configuration files with the necessary arguments and pass it to the command-line installer. An installation configuration file contains one argument per line, without the preceding hyphens. For example, the following configuration file changes installation directories, loads workspaces, sets the default workspace, and reboots the workstation:
installconfig=c:program filesttconfigfiles installdata=c:program filesttsysdata installuserdata=c:program filesttuserdata installlog=c:program filesttlogfiles installroot=c:program filestt reboot=force
To install X_TRADER® using a configuration file:
- Create an ASCII (.txt) file with the appropriate arguments and values.
- On the target workstation, download the TT Update installation package to the client hard drive.
- Copy the configuration file to the desired workstation.
- Open a command window.
- At the command prompt, type cd pkg_dir, where pkg_dir is the directory containing the installation package.
- At the command prompt, type tt_update_r*.exe –a --installcfg=cfg_path, where * is current release, build, and package number of TT Update and cfg_path is the location of the installation configuration file.
The command-line installer installs TT Update with the specified arguments and automatically reboots the system.
Note: If you require additional deployment information, please contact your TAM.