Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

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




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: creating an .xml file and running the installer.

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


Creating the .xml file

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

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


Running the installer

In the second step you run the installer with the following command:

Code Block
vray_adv_40201_max2018_x64.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.


Configuration File

The config.xml file holds configuration information about the settings of the installation. Below is an example of such a config file.

Code Block
titleExample installer config XML file: xml_file.xml
 <Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
 <Value Name="REMOTE_LICENSE" DataType="value">0</Value>
 <Value Name="VROL_INSTALLED" DataType="value">1</Value>
 <Value Name="VROL_INSTALL_PATH" DataType="value">C:\Program Files\Chaos Group\VRLService\OLS</Value>
 <Value Name="ISRUNNING_VROL" DataType="value">1</Value>
 <Value Name="ISRUNNING_VRLSERVICE" DataType="value">0</Value>
 <Value Name="REVERT_INSTALL" DataType="value">1</Value>
 <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value>
 <Value Name="MAXROOT" DataType="value">C:\Program Files\Autodesk\3ds Max 2018\</Value>
 <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\3ds Max 2018</Value>
 <Value Name="PLUGINS" DataType="value">C:\Program Files\Autodesk\3ds Max 2018\plugins</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="VISIT_SPOT3D" DataType="value">1</Value>
 <Value Name="VIDEO_DRIVER_TDR_DELAY_INCREASE" DataType="value">1</Value>
 <Value Name="OPEN_CHANGELOG" DataType="value">1</Value>
 <Value Name="INSTALL_TYPE" DataType="value">0</Value>
 <Value Name="AUTO_INSTALL_UIMENUS" DataType="value">1</Value>
 <Value Name="SEND_USER_FEEDBACK" DataType="value">1</Value>


Below is a description of the variables of the installer:



Specifies whether or not the installation will uninstall previous version:

1 uninstalls previous version

0 skips the uninstallation of previous version


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.


The parameter is used when the installer encounters an error – it triggers uninstallation and removes the files that have been populated before the error appears. 

Should always be set to its default 1.

 Specifies the root folder of 3ds Max.
Specifies the destination folder for V-Ray additional files (tools, documents, samples, libraries and uninstall information)
Specifies the plugins folder for 3ds Max; the default places it as a sub-folder of the 3ds Max root one.
STARTMENUPROGSpecifies the destination path where shortcuts will be placed.
COMMONFILESSpecifies the destination folder for V-Ray common files.

Specifies whether or not to open the V-Ray online documentation after the installation is complete.

1 opens the V-Ray online documentation.

0 does not open the V-Ray online documentation.


Tt is the only variable that controls the increase in tdr delay.

For huge scenes it may take longer time to export and prepare the GPU for rendering. Usually drivers automatically stop the process if there is no response in a small amount of time and report the application as not responding. To avoid this, we change the default delay of the drivers to 8 seconds.

0 - The installer will not make the change of the delay.

1 - The installer will make the change of the delay.


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

1 opens the Change Log.

0 does not open the Change Log.


Specifies the installation type:

0 – Workstation

1 – 3ds Max render slave

2 – Standalone render slave

3 – License server only

For a complete description of each installation type refer to the Installation of V-Ray section.

Corresponds to the checkbox in the installation that is labeled "Register V-Ray menus".

Controls whether the user feedback system will be used.

0 will make 3ds Max ask on its own upon startup

1 is to enable the feedback program

2 is to disable it for all users, except those who have explicitly enabled it from 3ds Max itself.

This section specifies the client license settings.
Primary license server's IP Address
Alternate license server's 1 IP Address
Alternate license server's 2 IP Address

Silent uninstallation

You can use a command to perform a silent uninstall. In order to do that you need to know the full path of the folder containing V-Ray additional files and the exact name of the product you want to uninstall. Then you can execute the following command:

Code Block
"<STDROOT>\uninstall\installer.exe" -uninstall="<STDROOT>\uninstall\install.log" -uninstallApp="<PRODUCT_NAME>" -gui=0 -quiet=1


where <STDROOT> is the destination folder and <PRODUCT_NAME> is the product name i.e. “V-Ray for 3dsmax 2018 for x64”

For example the following command will uninstall V-Ray for 3ds max 2018:

No Format
"C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\uninstall\installer.exe" -uninstall="C:\Program Files\Chaos Group\V-Ray\3ds Max 2018\uninstall\install.log" -uninstallApp="V-Ray for 3dsmax 2018 for x64" -gui=0 -quiet=1


Fancy Bullets
  • Running the installer with the -quiet=1 argument will also accept the EULA.