This page provides information on how to silently install V-Ray.

 

Installation


 

 

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.

Run the installation file from the command prompt with the -gui=0 argument

vray_adv_50001_sketchup_win.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 will create a file named config.xml in the folder of the installation file.

Run the installer with the following command:

vray_adv_50001_sketchup_win.exe -gui=0 -configFile="xml_file.xml" -quiet=1

The -quiet=1 argument will cause the installer to read the variable values from the .xml file and do the installation without user input. It will also accept the EULA. If you do not specify the -quiet=1 option, the installer will ask for a confirmation of each variable before proceeding.

The part of the config.xml file between “<LicServer>” and "</LicServer>" tags specifies the V-Ray license settings. If this section exists in the config.xml file, existing license settings will be overwritten. If you already have the correct license settings in place, you can remove the <LicServer></LicServer> part from the .config.xml, so that the existing settings won't be changed.

 

  1. In the terminal, navigate to the location where you have mounted the vray_adv_50001_sketchup_osx.dmg file (by double-clicking on it). The default location is /Volumes/V-Ray for SketchUp/.

  2. Using the "cd" command to navigate inside the .app file and go to /Volumes/V-Ray for SketchUp/vray_adv_50001_sketchup_osx.app/Contents/macOS

  3. Use the vray_adv_50001_sketchup_osx.bin file to run a command-line installation. Copy the file to a custom location where your user has “write” permissions and run it from there.

  4. Create an .xml file with installation options. To do that, start the installation on a single machine by entering in the terminal the following: 

    ./vray_adv_50001_sketchup_osx.bin -gui=0

  5. You will be prompted to enter your password.

  6. Follow the instructions of the installer and set up the installation in the way you want it to be installed on all machines. Make sure SketchUp has been run on the machine at least once prior to installing V-Ray.

  7. A file named config.xml will be created in the same folder the .bin file is located. Please note, that if you start the installation directly from inside vray_adv_50001_sketchup_osx.app/Contents/macOS directory, no config.xml file will be written since the location is read-only.

  8. You can now install V-Ray on all machines by navigating to the location of vray_adv_50001_sketchup_osx.bin and running:

./vray_adv_50001_sketchup_osx -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1


The -quiet=1 argument will cause the installer to read the variable values from the .xml file and do the installation without user input. It will also accept the EULA. If you do not specify the -quiet=1 option, the installer will ask for a confirmation of each variable before proceeding.

The part of the config.xml file between “<LicServer>” and "</LicServer>" tags specifies the V-Ray license settings. If this section exists in the config.xml file, existing license settings will be overwritten. If you already have the correct license settings in place, you can remove the <LicServer></LicServer> part from the .config.xml, so that the existing settings won't be changed.

V-Ray will search for $HOME/Library/Application Support/SketchUp 20xx (where 20xx is the SketchUp version) folder that is created after the first time SketchUp is started. Since this is per user, if you use "root" user to deploy installations, copy the existing $HOME/Library/Application Support/SketchUp 20xx folder into /var/root/Library/Application Support/ before installing. Otherwise, V-Ray will not detect that a specific SketchUp version is installed.

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 DataType="value" Name="TELEMETRY">1</Value>
<Value DataType="value" Name="OPEN_CHANGELOG">0</Value>
<Value DataType="value" Name="REMOTE_LICENSE">1</Value>
<Value DataType="value" Name="INSTALL_SKETCHUP_2019">1</Value>
<Value DataType="value" Name="INSTALL_SKETCHUP_2020">1</Value>
<Value DataType="value" Name="INSTALL_SKETCHUP_2021">1</Value>
<Value DataType="value" Name="INSTALL_LICENSE_SERVER">0</Value>
<Value DataType="value" Name="INSTALL_SWARM">1</Value>
<Value DataType="value" Name="INSTALL_CLOUD">1</Value>
<LicServer>
  <Host>123.0.1.23</Host>
  <Port>30304</Port>
  <Host1>localhost</Host1>
  <Port1>30304</Port1>
  <Host2></Host2>
  <Port2>30304</Port2>
  <User></User>
 </LicServer>
</DefValues>

Below is a description of the variables of the installer:

 

OPEN_CHANGELOG

Specifies whether or not to open the Change Log once the installation is complete:

0 - Does not open the Change Log

1 - Opens the Change Log

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

REG_LIC_SERVER

Specifies whether to register the V-Ray license server:

0 - Does not register the V-Ray license server

1 - Registers the V-Ray license server

INSTALL_SKETCHUP_2020

Specifies the installation of V-Ray for SketchUp 2020:

0 - Does not install V-Ray for SketchUp

1 - Installs V-Ray for SketchUp

INSTALL_LICENSE_SERVER

Specifies whether or not to install the V-Ray license server:

0 - Does not install the V-Ray license server

1 - Install the V-Ray license server

INSTALL_SWARM

Specifies whether or not to install V-Ray Swarm:

0 - Does not install Swarm

1 - Installs Swarm

TELEMETRY

Toggles the V-Ray Feedback program based on telemetry of V-Ray anonymous usage statistics.

0 - Disables V-Ray telemetry

1 - Enables V-Ray telemetry

INSTALL_CLOUD

Specifies whether or not to install Chaos Cloud Client App:

0 - Does not install Chaos Cloud Client App

1 - Installs Chaos Cloud Client App

Notes


  • The V-Ray installer should not be run using administrative privilege.