---
title: "Set up Silent Installation"
canonical: "https://documentation.chaos.com/space/VRAYNUKE/110625495/Set%20up%20Silent%20Installation"
format: markdown
---
This page provides information on installing V-Ray for Nuke through a silent installation.


## **Overview**

---

A silent installation allows you to perform a complete V-Ray installation without any user input during the process, using either the default options (automatic installation) or, if desired, a predefined set of options (manual installation).

To use the **default options**, you need to run the installer file from the command prompt with the **-auto** argument. This option forces the installer to run without a user interface, and also automatically selects all the default options. A config file, containing the default installation options, is created at the end of the process.

> ⚠️ By using the Chaos installer for automatic installation with the -auto argument, you accept the [Chaos End User License Agreement](https://www.chaos.com/terms) and the [Chaos Global Consumer Privacy Policy](https://www.chaos.com/privacy).

To use a **predefined set of options**, you need to first create a configuration xml file that stores the installation parameters and then run the installer. You must use the **-gui=0** argument, which indicates to the installer that no visual dialog will be shown and all interactions will occur through the console. After that, you can set each of the installation options directly in the console. Adding the **-quiet=1** argument speeds this process by skipping the full output and leading you straight to the configuration options where you can set them as you prefer. When this process is finished, the config.xml file is created. The final step is to run the installer again in the command prompt with the config.xml file.

> ℹ️ The **-auto** argument generates a configuration file using the default installation settings.
> ℹ️ 
> ℹ️ The **-gui=0** **-quiet=1** arguments generate a configuration file with installation settings that you specify.
> ℹ️ 
> ℹ️ You can inspect the configuration.xml files with a text editor and further modify the options listed there to suit your needs.

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


## **Windows**

---

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

* ****vray_adv_50000_nukex_x64.exe -gui=0**** *

> ✅ To suppress the full console output and speed up the generation of a config file, add the **-quiet=1** argument.

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.

When you want to install V-Ray with the same configuration, you only need the config.xml file. Run the installer with the following command:

* ****vray_adv_  50000_nukex  _x64.exe -gui=0 -configFile="xml_file.xml" -quiet=1**** *


## **Linux**  

---

To perform a silent install first run the installer with the<span style="color: #000000">* *</span><span style="color: #000000">***-gui=0***</span> argument. 

* ****$ sudo ./vray_adv_  50000_nukex  _linux_x64 -gui=0**** *

Follow the instructions and set up the installation in the way you want it to be installed on all machines. Once the installation is complete, a file named **config.xml** is created in the folder from which the installation was run. You can now use this file to configure your silent install on other machines. To do that, run the installer with the following arguments:* **** ***  
***-configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1**** *   
** *****$ sudo ./vray_adv_  50000_nukex  _linux_x64 -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1***** **


## **Configuration File** **   **

---

The ***config.xml*** file configures the automated installation. Below is an example of a config file.

```
<DefValues>
 	<Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value>
 	<Value Name="NUKEROOT" DataType="value">C:\Program Files\Nuke9.0v1\</Value>
 	<Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\Nuke 9.0 for x64</Value>
 	<Value Name="PLUGINS" DataType="value">C:\Program Files\Nuke9.0v1\plugins\vray</Value>
 	<Value Name="NUKE_PLUGINS" DataType="value">C:\Program Files\Common Files\Nuke\9.0\plugins\vray</Value>
 	<Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value>
 	<Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
 	<Value Name="REMOTE_LICENSE" DataType="value">0</Value>
 	<Value Name="REG_LIC_SERVER" DataType="value">1</Value>
 	<Value Name="FIREWALL_EXCEPTION" DataType="value">1</Value>
 	<Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
 	<Value Name="REVERT_INSTALL" DataType="value">1</Value>
</DefValues>
```


Below is a description of the common variables that can be defined in the .xml file:

|  |  |
| --- | --- |
| `NUKEROOT` | Specifies the root Nuke folder. |
| `PLUGINS` | Specifies the plugins folder for Nuke |
| `NUKE_PLUGINS` | Specifies the location of the additional V-Ray plugins for Nuke |
| `OPEN_CHANGELOG` | Specifies whether or not to open the Change Log once the installation is complete<br>0 - does not open the Change Log.<br>1 - opens the Change Log. |
| `REMOTE_LICENSE` | Specifies whether the V-Ray license server runs locally or on another machine.<br>0 - the license server runs locally on the same machine.<br>1 - the server is on a different machine in the network. |