How can I automate a TTWin 4 installation?
Options for automating installation in TTWin 4 are controlled through command line switches applied to the install package. The following switches are available.
The /S options turns on the silent install feature. TTWin will perform the installation process without prompting the user.
/LicenseFile [Path to LicenseFile]
This option specifies a .tcf license file which TTWin will copy to the Global program directory. If only a file name is given the install package will look in the same directory as it is run from. You can also include a full or relative path to the install executable directory.
Turns on the Silent Activation feature. If the license file specified with the /LicenseFile option requires activation TTWin will automatically connect to Turbosoft's license server and activates the license without prompting the user. The feature requires internet access.
/ConfigPath [Path to your Config files]
Sets a path for the install package to search for configuration files specified by the /ConfigFiles command line option. If not set the directory that the install executable was run from is used. A full or relative path from the executable directory can be specified.
/ConfigFiles [FileName] [FileName]
This option copies the listed files to the Global directory. You may list as many space separated names as needed. Wild cards are supported eg. *.* will copy all files from the /ConfigPath option. You may also specify a full path to a file if a file is not in the /ConfigPath. Use quotes if the path has spaces.
/ScriptPath [Path to your Script files]
Sets a path for the install package to search for script files specified by the /ScriptFiles command line option. If not set the directory that the install executable was run from is used. A full or relative path from the executable directory can be specified.
/ScriptFiles [FileName] [FileName]
This option copies listed files to the Global Scripts directory, you can specify as many space separated names as needed. Wild cards are supported eg. *.* will copy all files from the /ScriptPath. A full path to a file can also be used if a file is not in the /ScriptPath. Use quotes if the path has spaces.
Command Line Example
The following command line will install TTWin silently, import the specified license certificate and activate it silently. It will also copy two session files (one replacing the default.twc) from the mycfgs directory.
TTWin4-32Bit-22.214.171.1242.exe /S /LicenseFile mylicense.tcf /SilentActivation /ConfigPath mycfgs /ConfigFiles default.twc my.twc
If you wish to specify a custom .twc file you will need to install TTWin on a test machine and configure with the settings required for your standard deployment. You will then need to ensure that the .twc file is saved to retain these settings.