This page provides information on how to silently install V-Ray for Maya.
A silent installation allows you to install V-Ray 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 a command prompt with the -gui=0 argument:
Follow the instructions of the installer and set-up the installation the way you want to have it on all machines.
This will create a file named vrayconfig.xml in the folder of the installation file.
Run the installer with the -gui=0 argument, and also add the -config=<vrayconfig.xml> and -quiet=1 arguments. Here's an example of the command line:
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 confirmation of each variable before proceeding.
Mac OS X
In the terminal navigate to the location where you have extracted the vray_adv_40301_maya20xx_mavericks_x64.app file
Using the cd command navigate inside the .app file and go to vray_adv_40301_maya20xx_mavericks_x64.app/Contents/MacOS
In the terminal enter:
You will be prompted for your password – enter it.
Follow the instructions of the installer and setup the installation in the way you want it to be installed on all machines.
A file named config.xml is created in the folder of the .app file
You can now install V-Ray on all machines by navigating to vray_adv_40301_maya20xx_mavericks_x64.app/Contents/MacOS
and using the command:
./vray_adv_40301_maya20xx_mavericks_x64 -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1
To perform a silent install first run the installer with the “ -gui=0 ” argument:
$ sudo ./vray_adv_40301_maya20xx_linux_x64 -gui=0
Follow the instructions and setup the installation in the way you want it to be installed on all machines. Once the installation is complete a file named config.xml will be 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_40301_maya20xx_linux_x64 -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1
The config.xml file holds configuration information about the settings of the installation. Below is an example of such a config file.
Below is a description of the variables of the installer:
Specifies the root Maya folder.
Specifies the plugins folder for Maya
Specifies the installation type:
0 - Full
1 - Standalone only
For a complete description of each installation type refer to the Installation of V-Ray for Maya section.
Specifies whether or not to register the V-Ray Standalone render slave as a service.
0 - Does not register the V-Ray Standalone render slave
1 - Registers the V-Ray Standalone render slave
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.
Specifies the destination folder for IPR files.
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.
- Running the installer with the -quiet=1 argument will also accept the EULA.