Install Chaos License Server without user input, using default settings or a configuration file.
After installation, you can change Chaos License Server settings from the command line with the License Server Controller.
Overview
A silent installation installs Chaos License Server without user input. You can use the default options (automatic installation) or predefined options (manual installation).
To use the default options, run the installer from the command prompt with the -auto argument. The installer runs without a user interface and selects all default options. When installation finishes, it creates a configuration file containing those options.
To use predefined options, first create an XML configuration file containing your installation settings, then run the installer with that file. Use the -gui=0 argument to configure the installation through the console without visual dialogues. Set each installation option in the console. Add -quiet=1 to skip the full console output and go straight to the configuration options. When you finish, the installer creates config.xml. Run the installer again from the command prompt with config.xml.
Windows
For a silent installation, run this command:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">cgls_win_6.0.0.exe -auto</span></code>
This installs Chaos License Server with the default settings and accepts the EULA.
To choose a custom installation directory or skip adding firewall exceptions, run this command:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">cgls_win_#.#.#.exe -gui=0</span></code>
Add -quiet=1 to skip the full console output and speed up the process:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">cgls_win_#.#.#.exe -gui=0 -quiet=1</span></code>
Follow the installer instructions and choose the settings you want to use on all computers.
The installer creates config.xml in the folder containing the installation file.
Run the installer with -gui=0, -config=<config.xml> and -quiet=1. For example:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">cgls_win_#.#.#.exe -gui=0 -configFile="C:\config.xml" -quiet=1</span></code>
*### is the version number of the Chaos License Server build.
macOS
In the terminal, go to the folder where you extracted cgls_mac:#.#.#.bin.dmg.
Use the cd command to navigate inside the bin.dmg file to cgls_mac:#.#.#.bin.dmg/Contents/MacOS.
Enter this command in the terminal:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">.cgls_mac:#.#.#.bin.dmg -auto</span></code>
This installs Chaos License Server with the default settings and accepts the EULA.
To choose a custom installation directory or skip adding firewall exceptions, run this command in the terminal:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">.cgls_mac:#.#.#.bin.dmg -gui=0</span></code>
Enter your password when prompted.
Follow the installer instructions and choose the settings you want to use on all computers.
The installer creates config.xml in the folder containing the .bin.dmg file.
To install Chaos License Server on all computers, go to cgls_mac:#.#.#.bin.dmg/Contents/MacOS and run this command:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">.cgls_mac:#.#.#.bin.dmg -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1</span></code>
*### is the version number of the Chaos License Server build.
Linux
For a silent installation, run this command:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">$ sudo ./cgls_lin_#.#.#.bin -auto</span></code>
This installs Chaos License Server with the default settings and accepts the EULA.
To choose a custom installation directory or skip adding firewall exceptions, run the installer with -gui=0:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">$ sudo ./cgls_lin_#.#.#.bin -gui=0</span></code>
Follow the installer instructions and choose the settings you want to use on all computers. When installation finishes, the installer creates config.xml in the folder you ran it from. Use this file for silent installations on other computers by running the installer with these arguments:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line">-configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1</span><span data-v-9a340a76="" class="line">$ sudo ./cgls_lin_#.#.#.bin -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1</span></code>
*### is the version number of your Houdini app.
Configuration file
The config.xml file sets the options for automated installation. Here is an example:
<code data-v-9a340a76=""><span data-v-9a340a76="" class="line"><DefValues></span><span data-v-9a340a76="" class="line"> <Value Name="PREVIOUS_MINOR" DataType="value">5</Value></span><span data-v-9a340a76="" class="line"> <Value Name="RUN_ACTIVATION" DataType="value">0</Value></span><span data-v-9a340a76="" class="line"> <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\VRLService\OLS</Value></span><span data-v-9a340a76="" class="line"> <Value Name="REVERT_INSTALL" DataType="value">1</Value></span><span data-v-9a340a76="" class="line"> <Value Name="OLS_DATA_DIR" DataType="value">C:\Program Files\Common Files\ChaosGroup</Value></span><span data-v-9a340a76="" class="line"> <Value Name="IS_ALREADY_ACTIVATED" DataType="value">1</Value></span><span data-v-9a340a76="" class="line"> <Value Name="UPGRADE_VERSION" DataType="value">1</Value></span><span data-v-9a340a76="" class="line"> <Value Name="OLS_JSON_CONFIGURATION" DataType="value">not_found</Value></span><span data-v-9a340a76="" class="line"> <Value Name="FIREWALL_EXCEPTION" DataType="value">1</Value></span><span data-v-9a340a76="" class="line"> <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value></span><span data-v-9a340a76="" class="line"> <Value Name="SKIP_FINISH" DataType="value">0</Value></span><span data-v-9a340a76="" class="line"> <Value Name="LOGIN_RETRIES" DataType="value">3</Value></span><span data-v-9a340a76="" class="line"> <Value Name="OLS_OLD_DATA_DIR" DataType="value">C:\Program Files\Common Files\ChaosGroup</Value></span><span data-v-9a340a76="" class="line"> <Value Name="REVERT_UNINSTALL" DataType="value">0</Value></span><span data-v-9a340a76="" class="line"> <Value Name="MIGRATION_ERROR" DataType="value">0</Value></span><span data-v-9a340a76="" class="line"> <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value></span><span data-v-9a340a76="" class="line"> <Value Name="PREVIOUS_MAJOR" DataType="value">5</Value></span><span data-v-9a340a76="" class="line"> <Value Name="PREVIOUS_MINEST" DataType="value">4</Value></span><span data-v-9a340a76="" class="line"> <Value Name="REG_LIC_SERVER" DataType="value">1</Value></span><span data-v-9a340a76="" class="line"> <Value Name="UNINSTALL_ERROR" DataType="value">0</Value></span><span data-v-9a340a76="" class="line"> <Value Name="OLS_OLD_ACTIVATION_CERT" DataType="value">C:\Program Files\Common Files\ChaosGroup\ssl\cert.crt</Value></span><span data-v-9a340a76="" class="line"> <Value Name="RUN_MIGRATION" DataType="value">1</Value></span><span data-v-9a340a76="" class="line"></DefValues></span></code>
Notes
- Running the installer with -auto accepts the EULA.