This page provides information on performing a silent installation of V-Ray Standalone.
Overview
A silent installation allows you to complete V-Ray installation without user input during the process using a predefined set of options. To set up a silent installation follow the instructions below.
By using the Chaos installer for automatic installation with the respective options for that (-auto or -quiet=1), or otherwise installing a Chaos product, you accept the Chaos End User License Agreement and the Chaos Global Consumer Privacy Policy.
- Run the installation file from the command prompt with the -gui=0 argument. You can also add the -auto flag to make the installation automatic with default settings. Note that this accepts both the EULA and the Privacy Policy:
vraystd_adv_6xxxx_x64_vc14.exe -gui=0 - Follow the installer instructions and set up the installation as you want it to be on all machines. This creates a file named config.xml in the installation folder.
- Run the installer with the following command:
vraystd_adv_6xxxx_x64_vc14.exe -gui=0 -configFile="xml_file.xml" -quiet=1
This will cause the installer to read the variable values from the XML file and do the installation without asking any questions. If you do not specify the -quiet=1 option, the installer will ask for confirmation for each variable before proceeding.
- In the terminal, navigate to the location where you have extracted the vraystd_adv_6xxxx_mavericks_x64_gcc-4.2-cpp.app file.
- Copy the .app file to a location with write permissions.
- Inside Terminal, using the cd command, navigate inside the .app file and go to vraystd_adv_6xxxx_mavericks_x64_gcc-4.2-cpp.app/Contents/MacOS/.
In the terminal, enter:
./run_installer -gui=0
You can also add the -auto flag to make the installation automatic with default settings. Note that this accepts both the EULA and the Privacy Policy.- You are then prompted for your password – enter it.
- Follow the instructions of the installer and set up the installation as you want it to be installed on all machines.
- A file named config.xml is created in the folder of the .app file. Move it outside the .app bundle, for example, next to the vraystd_adv_6xxxx_mavericks_x64_gcc-4.2-cpp.app.
- You can now install V-Ray on all machines by navigating to vraystd_adv_6xxxx_mavericks_x64_gcc-4.2-cpp.app/Contents/MacOS/ and using the following command:
./run_installer -configFile="../../../config.xml" -gui=0 -quiet=1 -ignoreErrors=1
If you do not specify the -quiet=1 option, the installer will ask for confirmation for each variable before proceeding.
- To perform a silent install, first run the installer with the -gui=0 argument. You can also add the -auto flag to make the installation automatic with default settings. Note that this accepts both the EULA and the Privacy Policy:
vraystd_adv_6xxxx_linux_x64_clang-gcc-6.3 -gui=0 - Follow the instructions and set up the installation the way you want it to be installed on all machines. Once the installation is complete a file named config.xml will be created in the folder from which the installation was run.
- You can now use this file to configure your silent install on other machines. To do that, run the installer with the following arguments:
vraystd_adv_6xxxx_linux_x64_clang-gcc-6.3 -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1
If you do not specify the -quiet=1 option, the installer will ask for confirmation for each variable before proceeding.
Configuration file
The config.xml file holds configuration information about the settings of the installation. Below is an example of such a config file.
<DefValues> <Value Name="SHOULDUNINSTALL" DataType="value">1</Value> <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value> <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos\V-Ray\Standalone for x64</Value> <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value> <Value Name="WIBU_VERSION" DataType="value">6.20.1230.500</Value> <Value Name="REMOTE_LICENSE" DataType="value">0</Value> <Value Name="INSTALL_WIBU" DataType="value">1</Value> <Value Name="WIBU_General_Gui" DataType="value">0</Value> <Value Name="WIBU_RESTART_REQUIRED" DataType="value">0</Value> <Value Name="CUSTOMIZE" DataType="value">1</Value> <Value Name="REVERT_INSTALL" DataType="value">1</Value> </DefValues>
NOTE: Not all of the settings of the default installer apply to the installation of V-Ray Standalone. Below is a description of the variables used in the installation:
Variable name | Variable description |
---|---|
STDROOT | Specifies the destination folder for V-Ray Standalone |
REMOTE_LICENSE | Specifies whether the V-Ray 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. |
SHOULDUNINSTALL | Specifies whether or not the installation will uninstall previous version: 1 - uninstalls previous version 0 - skips the uninstallation of previous version |