Table of Contents

This page provides information on setting up V-Ray through a silent installation and removing V-Ray through a silent uninstall.


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, you need to perform two steps: create an .xml file and run the installer.

You can remove V-Ray from your machine similarly through a silent uninstall.


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.


Steps



1. Run the installation file from a 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:

vray_adv_xxxxx_blenderxxx_x64.exe -gui=0 

2. 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. 

3. When you want to install V-Ray on a different machine with the same preset, you only need the config.xml file. Run the installation file with the -gui=0 argument again, and also add the -config=<config.xml> and -quiet=1 arguments. Here's an example of the command line:

vray_adv_xxxxx_blenderxxx_x64.exe -gui=0 -configFile="C:\config.xml" -quiet=1

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

*xxx is a placeholder for the corresponding software versions


Configuration File


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: xml_file.xml
<DefValues>
 <Value Name="SHORTCUTS" DataType="value">1</Value>
 <Value Name="TEMP_CONFIG_ROOT" DataType="value">config_not_customized</Value>
 <Value Name="STDROOT" DataType="value">C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\vray_blender</Value>
 <Value Name="ZMQROOT" DataType="value">C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\vray_blender\bin\VRayZmqServer</Value>
 <Value Name="REMOTE_LICENSE" DataType="value">1</Value>
 <Value Name="CONFIG_ROOT" DataType="value">C:\Users\User\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\vray_blender/config</Value>
 <Value Name="FIREWALL_EXCEPTION" DataType="value">1</Value>
 <Value Name="PERSONALIZED_TELEMETRY" DataType="value">1</Value>
 <Value Name="INSTALL_TYPE" DataType="value">0</Value>
 <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value>
 <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value>
 <Value Name="ANONYMOUS_TELEMETRY" DataType="value">1</Value>
 <Value Name="COMMONFILES" DataType="value">C:\Program Files\Common Files</Value>
 <Value Name="OS_TYPE" DataType="value">windows</Value>
 <Value Name="ESCAPED_STDROOT" DataType="value">This is invalid contents</Value>
 <Value Name="CGLS_INSTALL_PATH" DataType="value">C:\Program Files\Chaos\VRLService</Value>
 <LicServer>
  <Host>127.0.0.1</Host>
  <Port>30304</Port>
  <Host1>127.0.0.1</Host1>
  <Port1>30304</Port1>
  <Host2>127.0.0.1</Host2>
  <Port2>30304</Port2>
  <User></User>
 </LicServer>
</DefValues>



Below is a description of the variables of the installer:


STDROOT
The directory for the V-Ray for Blender plugin.
ZMQROOT
The directory for the ZMQ server.
REMOTE_LICENSE

Determines the license type:

0 - Local

1 - Remote

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.

PERSONALIZED_TELEMETRY

Determines whether V-Ray gathers personalized telemetry:

0 - no

1 - yes

INSTALL_TYPE

Specifies the installation type:

0 - Full

1 - Standalone only

ANONYMOUS_TELEMETRY

Determines whether V-Ray gathers anonymous telemetry data:

0 - no

1 - yes

<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

<Host2>IP_Address</Host2>

Alternate license server's 2 IP Address


Silent Uninstall of V-Ray


A silent uninstallation allows you to remove your V-Ray installation without the need for user input during the process using a predefined set of options.

To perform a silent uninstall, the executable of the installer should be run from a Windows Command Prompt with the following arguments:

<STDROOT>/uninstall/installer.exe -uninstall="<STDROOT>/uninstall/install.log" -uninstallApp="V-Ray for Blender xxx" -quiet=0


Where:

  • <STDROOT> is the V-Ray installation directory

  • xxx is the Blender version

  • -quiet=0 is used to display the output of the silent uninstall in the console and can be omitted.


Was this helpful?