Automatic Key Installation

From TouchDesigner 088 Wiki

To aid in deploying many computer with TouchDesigner, keys can be installed automatically instead of manually using the Key Manager Dialog. Note: this method only works if no keys are currently enabled on the machine. This is done by first creating a file called TDAutoKey.txt on the desktop of the target computer. The TDAutoKey.txt file will need to have some required information such as your username and password, and there are a few optional options that can be specified if desired. The format of the .txt file is

 setting = value

Required Information

The first two pieces of information are the username/password for the Derivative account that contains the key you wish to install

 username = <DerivativeAccountUsername>
 password = <DerivativeAccountPassword>

Next you need to specify the type of key you wish to install:

 product = <ProductName>

Valid Values:

  • TouchDesigner
  • TouchPlayer
 license = <LinceseType>

Valid Values:

  • Commercial
  • Pro
  • Educational
  • Non-Commercial

Optional Settings

To control if a dialog comes up upon successful installation of a key use this setting. It defaults to 'true' if not specified

 notifySuccess = <TrueOrFalse>

To control if a dialog comes up if any error occurs use this setting. It defaults to 'true' if not specified

 notifyFailure = <TrueOrFalse>

To automatically delete the TDAutoKey.txt after a successful key installation use this setting. It defaults to 'false' if not specified

 deleteAfterSuccess = <TrueOrFalse>

See Also: License Dongle