Windows
A silent installation allows completion of the V-Ray installation without additional 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_7####_revit_win_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 creates a file named config.xml in the folder of the installation file.
Run the installer with the following command:
vray_adv_7####_revit_win_x64.exe -gui=0 -configFile="xml_file.xml" -quiet=1
The -quiet=1 argument causes the installer to read the variable values from the xml file and do the installation without asking any for more details. It also accepts the EULA. If the -quiet=1 argument is not specified, the installer asks for confirmation for each variable before proceeding.
*#### is the exact number of your V-Ray build.
Configuration File
The config.xml file holds configuration information about the settings of the installation. Below is an example of a config file content.
<DefValues> <Value Name="ADDINS25" DataType="value">C:\ProgramData\Autodesk\Revit\Addins\2025</Value> <Value Name="INSTALL_CONTENT_BROWSER" DataType="value">1</Value> <Value Name="REVIT_EXE_ROOT23" DataType="value">NOTINSTALLED</Value> <Value Name="APPDATA23" DataType="value">C:\Users\<username>\AppData\Roaming\Chaos\V-Ray for Revit 2023</Value> <Value Name="INSTALL_REVIT24" DataType="value">1</Value> <Value Name="APPDATA25" DataType="value">C:\Users\<username>\AppData\Roaming\Chaos\V-Ray for Revit 2025</Value> <Value Name="REVERT_INSTALL" DataType="value">1</Value> <Value Name="ADDINS23" DataType="value">C:\ProgramData\Autodesk\Revit\Addins\2023</Value> <Value Name="SWARM_ENABLED" DataType="value">0</Value> <Value Name="INSTALL_REVIT25" DataType="value">0</Value> <Value Name="REVIT_EXE_ROOT25" DataType="value">NOTINSTALLED</Value> <Value Name="REVIT_EXE_ROOT24" DataType="value">C:\Program Files\Autodesk\Revit 2024\</Value> <Value Name="ADDINS24" DataType="value">C:\ProgramData\Autodesk\Revit\Addins\2024</Value> <Value Name="APPDATA24" DataType="value">C:\Users\<username>\AppData\Roaming\Chaos\V-Ray for Revit 2024</Value> <Value Name="INSTALL_REVIT22" DataType="value">0</Value> <Value Name="INSTALL_SWARM" DataType="value">0</Value> <Value Name="SWARM_DONOTUSELOCALMACHINE" DataType="value">0</Value> <Value Name="REVIT_EXE_ROOT22" DataType="value">NOTINSTALLED</Value> <Value Name="PREVIOUS_REVITROOT" DataType="value">C:\ProgramData</Value> <Value Name="CONFIGURE_LICENSE_ONLY" DataType="value">0</Value> <Value Name="REMOTE_LICENSE" DataType="value">0</Value> <Value Name="DATAFILES" DataType="value">C:\ProgramData\VRay4Revit</Value> <Value Name="APPDATA22" DataType="value">C:\Users\<username>\AppData\Roaming\Chaos\V-Ray for Revit 2022</Value> <Value Name="INSTALL_LICENSE_SERVER" DataType="value">0</Value> <Value Name="LOCAL_APPDATA_PATH" DataType="value">C:\Users\<username>\AppData\Local\Chaos\V-Ray for Revit</Value> <Value Name="ADDINS22" DataType="value">C:\ProgramData\Autodesk\Revit\Addins\2022</Value> <Value Name="REVITROOT" DataType="value">C:\ProgramData</Value> <Value Name="INSTALL_REVIT23" DataType="value">0</Value> <LicServer> <Host>127.0.0.1</Host> <Port>30304</Port> <Host1></Host1> <Port1>30304</Port1> <Host2></Host2> <Port2>30304</Port2> <User></User> </LicServer> </DefValues>
Below is a description of the variables of the installer:
SHOULDUNINSTALL | Specifies the uninstall type: 0 - Does not uninstall previous installation. 1 - Uninstall previous installation. |
STDROOT | Specifies the root Revit folder. The default is C:\Program Files\Chaos\V-Ray\V-Ray for Revit |
MATERIALS_LIBRARY | Specifies location for the V-Ray material library (the library itself should be downloaded from within the gui after a successful installation). The default location is C:\Users\<username>\Documents\Chaos Cosmos\Packages\Materials |
REVERT_INSTALL | 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. |
INSTALL_REVIT | Specifies the installation type: 0 - Does not install V-Ray for Revit. This is useful when you want to install only V-Ray Swarm, for example. 1 - Installs V-Ray for Revit. |
INSTALL_REVIT19 INSTALL_REVIT20 INSTALL_REVIT21 INSTALL_REVIT22 INSTALL_REVIT23 INSTALL_REVIT24 INSTALL_REVIT25 | Specifies the installation of V-Ray for Revit 2019 - 2025: 0 - Does not install V-Ray for Revit 2019 - 2025. 1 - Installs V-Ray for Revit. |
REVITROOT | Specifies the root Revit folder. The default folder is C:\ProgramData |
REVIT_EXE_ROOT19 | Specifies the folder location for the Revit 2019 .EXE file. The default is C:\Program Files\Autodesk\Revit 2019 |
REVIT_EXE_ROOT20 | Specifies the folder location for the Revit 2020 .EXE file. The default is C:\Program Files\Autodesk\Revit 2020 |
REVIT_EXE_ROOT21 | Specifies the folder location for the Revit 2021 .EXE file. The default is C:\Program Files\Autodesk\Revit 2021 |
REVIT_EXE_ROOT22 | Specifies the folder location for the Revit 2022 .EXE file. The default is C:\Program Files\Autodesk\Revit 2022 |
REVIT_EXE_ROOT23 | Specifies the folder location for the Revit 2023 .EXE file. The default is C:\Program Files\Autodesk\Revit 2023 |
ADDINS19 | Specifies the addins folder for Revit 2019. The default is C:\ProgramData\Autodesk\Revit\Addins\2019 |
ADDINS20 | Specifies the addins folder for Revit 2020. The default is C:\ProgramData\Autodesk\Revit\Addins\2020 |
ADDINS21 | Specifies the addins folder for Revit 2021. The default is C:\ProgramData\Autodesk\Revit\Addins\2021 |
ADDINS22 | Specifies the addins folder for Revit 2022. The default is C:\ProgramData\Autodesk\Revit\Addins\2022 |
ADDINS23 | Specifies the addins folder for Revit 2023. The default is C:\ProgramData\Autodesk\Revit\Addins\2023 |
INSTALL_SWARM | Specifies whether or not to install V-Ray Swarm: 0 - Does not install Swarm. 1 - Installs Swarm. |
SWARM_ENABLED | Specifies whether or not to enable V-Ray Swarm during installation: 0 - Does not enable Swarm. 1 - Enables Swarm. |
SWARM_GOAL | Allows you to set in advance the desired percentage of utilization of available resources. Computers added to or removed from V-Ray Swarm are taken into account automatically. The default is 60. |
SWARM_DONOTUSELOCALMACHINE | Specifies whether to exclude the local machine from rendering: 0 - The local machine is used. 1 - The local machine is not used. However, V-Ray Swarm proceeds using a small percentage of the local machine's resources to communicate with the nodes. |
AUTO_DISCOVERY | Specifies whether the installation should search for other nodes in the network: 0 - Does not search for other nodes in the network. 1 - Enables auto discovery and the installation searches for other nodes in the network. |
DISCOVERY_MASTER | Specifies the Coordinator's IP address. |
SWARM_TAGS | Tags this node with a descriptor that defies something about the machine, which can later be used to selectively control from inside of Revit. Tags must be separated with a comma. |
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. |
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. |
LIC_TYPE | Specifies the type of license. |
FIREWALL_EXCEPTION | Specifies whether to add a Firewall Exception for the V-Ray license server: 0 - Does not add a Firewall Exception for the V-Ray license server. 1 - Adds a Firewall Exception for the V-Ray license server. |
Notes
- Running the installer with the -quiet=1 argument also accepts the EULA.