This page provides information on how to silently install V-Ray for Maya.

Page Contents ×

Windows


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:

 

vray_adv_40301_maya20xx_x64.exe -gui=0 

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:

vray_adv_40301_maya20xx_x64.exe -gui=0 -configFile="C:\vrayconfig.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 confirmation of each variable before proceeding.

 

Mac OS X


  1. In the terminal navigate to the location where you have extracted the vray_adv_40301_maya20xx_mavericks_x64.app file

  2. Using the cd command navigate inside the .app file and go to vray_adv_40301_maya20xx_mavericks_x64.app/Contents/MacOS

  3. In the terminal enter:
    ./vray_adv_40301_maya20xx_mavericks_x64 -gui=0

  4. You will be prompted for your password – enter it.

  5. Follow the instructions of the installer and setup the installation in the way you want it to be installed on all machines.

  6. A file named config.xml is created in the folder of the .app file

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


Linux


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

 

Configuration File


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

<DefValues>
	<Value Name="INSTALL_TYPE" UseOld="1" DataType="value">0</Value>
	<Value Name="MAYAROOT" DataType="value">C:\Program Files\Autodesk\Maya20xx</Value>
	<Value Name="PLUGINS" DataType="value">$MAYAROOT\vray</Value>
	<Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
	<Value Name="REMOTE_LICENSE" UseOld="1" DataType="value">0</Value>
	<Value Name="REGISTER_RENDERSLAVE_SERVICE" UseOld="1" DataType="value">0</Value>
</DefValues>

Below is a description of the variables of the installer:

 

MAYAROOT

Specifies the root Maya folder.

PLUGINS

Specifies the plugins folder for Maya

INSTALL_TYPE

 

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.

REGISTER_RENDERSLAVE_SERVICE

 

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

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.

STDROOT

Specifies the destination folder for IPR files.

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.

Notes


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