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.
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:
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.
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 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.|
|STARTMENUPROG||Specifies the destination path where shortcuts will be placed.|
|COMMONFILES||Specifies 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 Uninstall of V-Ray
A silent uninstall allows you to remove your V-Ray installation without the need for user input during the process. The silent uninstall uses a predefined set of options.
V-Ray for 3ds Max can be silently uninstalled from a console with the following command line:
- <STDROOT> is the V-Ray installation directory;
- #### is the version of 3ds Max;
- -quiet=0 is used to display the output of the silent uninstall in the console and can be omitted.
- Running the installer with the -quiet=1 argument will also accept the EULA.