.UIImage { max-width:900px; margin-left:auto; margin-right:auto; } |
This page provides information on setting up Chaos Vantage through a silent installation and removing it through a silent uninstallation.
A silent installation allows you to complete Chaos Vantage installation without user input during the process using a predefined set of options. To set up a silent installation, you need to perform two steps: creating an .xml file and running the installer.
You can remove Chaos Vantage from your machine similarly through a silent uninstall.
You can run the installation file from command prompt with the following arguments:
-help | Prints available arguments for the installer executable. |
-configFile | Specifies path to an installation configuration file. |
-gui | Specifies if a Graphic User Interface or a command line one will be used during installation: 0 – No Graphic User Interface is visible, installation is in command line. 1 – Installation is with a Graphic User Interface. |
-debug | Specifies the level of debug logging by the installer. Defaults to 0 and assumes a value of 1 if argument is provided with no value. |
-auto | Specifies if the installation is automatic with default settings and forces the -quiet argument. |
-quiet | Specifies whether the automatic installation is without user input. Defaults to 1. 0 – Installation requires user input and asks for a confirmation of each variable before proceeding. It also prints log in the console. 1 – Installation is without user input. EULA is accepted automatically. |
-backup | Specifies whether the installer performs backup on previous installation. 0 – Previous installation is not backed up. 1 – Previous installation is backed up. |
Run the installation file from the command prompt with the -gui=0 argument.
e.g. vantage_1.6.2.exe -gui=0
Follow the instructions of the install 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.
In the second step, you run the installer with the following command:
vantage_1.6.2.exe -gui= 0 -configFile= "xml_file.xml" -quiet= 1 -auto |
The config.xml file holds configuration information about the settings of the installation. Below is an example of such a config file.
Example installer config XML file: ChaosVantageSilentInstall.xml
<DefValues> <Value Name="DESKTOP_SHORTCUT" DataType="value">1</Value> <Value Name="REGISTRY_PROG_ID" DataType="value">Chaos.Vantage</Value> <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\Vantage</Value> <Value Name="REMOTE_LICENSE" DataType="value">0</Value> <Value Name="DESKTOP_PATH" DataType="value">C:\Users\USER_NAME\Desktop</Value> <Value Name="REVERT_INSTALL" DataType="value">1</Value> <Value Name="ASSOCIATE_VANTAGE" DataType="value">1</Value> <Value Name="FIREWALL_EXCEPTION" DataType="value">1</Value> <Value Name="INSTALL_TYPE" DataType="value">0</Value> <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value> <Value Name="APPDATALOCAL" DataType="value">C:\Users\USER_NAME\AppData\Local</Value> <Value Name="INSTALL_CGLS" DataType="value">1</Value> <Value Name="REVERT_UNINSTALL" DataType="value">0</Value> <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value> <Value Name="COMMONFILES" DataType="value">C:\Program Files\Common Files</Value> <Value Name="SEND_USER_FEEDBACK" DataType="value">1</Value> <LicServer> <Host>127.0.0.1</Host> <Port>30304</Port> <Host1></Host1> <Port1>30304</Port1> <Host2></Host2> <Port2>30304</Port2> <User></User> </LicServer> </DefValues> |
Please note that USER_NAME is specific for the currently logged user. |
Below is a description of the common variables that can be defined in the .xml file:
DESKTOP_SHORTCUT | Specifies whether a desktop shortcut for Chaos Vantage is created: 0 - No desktopr shortcut for Chaos Vantage is created. 1 - Creates a desktop shortcut for Chaos Vantage. |
REGISTRY_PROG_ID | Specifies how Chaos Vantage is added in the windows registry. Default is Chaos.Vantage. |
STDROOT | Specifies the installation folder for Chaos Vantage. Default location is C:\Program Files\Chaos Group\Vantage. |
REMOTE_LICENSE | Specifies whether the Chaos license server runs locally or on another machine: 0 - The license server runs locally on the same machine. 1 - The server is on a different machine in the network. |
DESKTOP_PATH | Specifies the desktop folder path where the desktop shortcut of Chaos Vantage is generated. Default location is C:\Users\USER_NAME\Desktop. |
REVERT_INSTALL | Specifies whether the installation is reverted and copied files are deleted if errors occur that prevent the install process to continue: 0 - Copied files are not deleted if errors occur. 1 - Copied files are deleted if errors occur. |
ASSOCIATE_VANTAGE | Specifies whether .vantage files are assosiated and opened from the windows explorer with Chaos Vantage: 0 - .vantage files are not assosiated and cannot be opened from the windows explorer with Chaos Vantage. 1 - .vantage files are assosiated and can be opened from the windows explorer with Chaos Vantage. |
FIREWALL_EXCEPTION | Specifies whether to add a Firewall Exception for the Chaos license server: 0 - Does not add a Firewall Exception for the Chaos license server. 1 - Adds a Firewall Exception for the Chaos license server. |
INSTALL_TYPE | Specifies the installation type: 0 – Workstation. |
PROGRAMFILES | Specifies the Program files folder location. Default location is C:\Program Files. |
APPDATALOCAL | Specifies the local Application data folder location. Default location is C:\Users\USER_NAME\AppData\Local. |
INSTALL_CGLS | Specifies whether to install the Chaos license server: 0 - Does not install Chaos license server. 1 - Installs the Chaos license server. |
REVERT_UNINSTALL | Specifies whether the uninstall is reverted and installed files are not deleted if errors occur that prevent the uninstall process to continue: 0 - Installed files are deleted if errors occur. 1 - Installed files are not deleted if errors occur. |
STARTMENUPROG | Specifies the Start menu programs folder location. Default location is C:\ProgramData\Microsoft\Windows\Start Menu\Programs. |
COMMONFILES | Specifies the windows' Common files folder location. Default location is C:\Program Files\Common Files. |
SEND_USER_FEEDBACK | Controls whether the user feedback system will be used: 0 – Disables user feedback system. 1 – Enables user feedback system. |
<LicServer> | This section specifies the client license settings. |
<Host>IP_Address</Host> | Primary license server's IP Address. |
<Host1>IP_Address</Host1> | Alternate license server's 1 IP Address. |
<Host1>IP_Address</Host2> | Alternate license server's 2 IP Address. |