©Marcos Tonda

Table of Contents

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.




  1. Run the installation file from the command prompt with the -gui=0 argument:
    vraystd_adv_6xxxx_x64_vc14.exe -gui=0
     
  2. Follow the instructions of the install and set-up the installation the way you want to have it on all machines. This will create a file named config.xml in the folder of the installation file.
  3. Run the installer with the following command:
    vraystd_adv_6xxxx_x64_vc14.exe  -gui=0 -configFile="xml_file.xml" -quiet=1

  4. 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 a confirmation for each variable before proceeding.


  1. In the terminal navigate to the location where you have extracted the vraystd_adv_6xxxx_mavericks_x64_gcc-4.2-cpp.app file.
  2. Copy the .app file to a location with write permissions.  
  3. 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/.
  4. In the terminal enter: 
    ./run_installer -gui=0

  5. You are then prompted for your password – enter it. 
  6. Follow the instructions of the installer and setup the installation in the way you want it to be installed on all machines.
  7. 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.
  8. 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


  1. To perform a silent install, first run the installer with the -gui=0 argument:
    vraystd_adv_6xxxx_linux_x64_clang-gcc-6.3 -gui=0
     
  2. 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 will be created in the folder from which the installation was run.
     
  3. 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

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 Group\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 are applicable to the installation of V-Ray Standalone. Below is a description of the variables used in the installation:


Variable nameVariable description
STDROOTSpecifies 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