A silent installation allows you to install Chaos License Server without user input during the process using a predefined set of options. To set up a silent installation, follow the instructions below.
Windows
Run the installation file from a command prompt with the -gui=0 argument:
cgls_win_#.#.#.exe -gui=0 -quiet=1
Follow the instructions of the installer and set-up the installation the way you want to have it on all machines.
This creates a file named config.xml in the folder of the installation file.
Re-use the config.xml file when installing on other machines by adding -config=<config.xml> to the command line. This makes the installer read the installation parameters from a file, instead of asking for confirmation on each step. Here's an example of the command line:
cgls_win_#.#.#.exe -gui=0 -quiet=1 -configFile="C:\config.xml"
It also accepts the EULA.
*### – is the version number of the Chaos License Server build.
macOS
In the terminal, navigate to the location where you have extracted the cgls_mac_#.#.#.bin.dmg file;
Using the cd command, navigate inside the bin.dmg file and go to cgls_mac_#.#.#.bin.dmg/Contents/MacOS;
In the terminal, enter:
.cgls_mac_#.#.#.bin.dmg -gui=0 -quiet=1
You will be prompted for your password – enter it.
Follow the instructions of the installer and setup the installation in the way you want it to be installed on all machines;
A file named config.xml is created in the folder of the .bin.dmg file;
Re-use the config.xml file when installing on other machines by adding -config=<config.xml> to the command line. This makes the installer read the installation parameters from a file, instead of asking for confirmation on each step. Here's an example of the command line:
.cgls_mac_#.#.#.bin.dmg -configFile="config.xml" -gui=0 -quiet=1
*### – is the version number of the Chaos License Server build.
Linux
To perform a silent install, first run the installer with the -gui=0 argument:
$ sudo ./cgls_lin_#.#.#.bin -gui=0 -quiet=1
Follow the instructions and setup the installation in the way you want it to be installed on all machines. Once the installation is complete, a file named config.xml is created in the folder from which the installation was run. You can now use this file to configure your silent install on other machines.
Re-use the config.xml file when installing on other machines by adding -config=<config.xml> to the command line. This makes the installer read the installation parameters from a file, instead of asking for confirmation on each step. Here's an example of the command line:
-configFile="config.xml" -gui=0 -quiet=1
$ sudo ./cgls_lin_#.#.#.bin -configFile="config.xml" -gui=0 -quiet=1
*### – is the version number of the Chaos License Server build.
If you want to see all available commands you can use the following command:
cgls_win_#.#.#.exe -help