Page History
This page provides information on setting up and removing V-Ray through a silent installation and removing V-Ray through a silent uninstalluninstallation.
Overview
...
A silent installation allows you to complete a 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 create an .xml file and running run the installer.
You can remove V-Ray from your machine similarly through a silent uninstall.
...
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 Command Prompt with the -gui=0 argument:
Code Block | ||
---|---|---|
| ||
vray_adv_5005060002_c4dr2хc4dr2x_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 creates a file named vrayconfig.xml in the folder of the installation file.
Run the installer installation file with the -gui=0 argument again, and also add the -config=<vrayconfig.xml> and -quiet=1 arguments. Here's an example of the command line:
Code Block | ||
---|---|---|
| ||
vray_adv_5005060002_c4dr2х_x64.exe -gui=0 -configFile="C:\vrayconfig.xml" -quiet=1 |
The -quiet=1 argument will cause causes the installer to read the variable values from the .xml file and do the installation without user input.
It will also accept accepts the EULA.
If you do not specify the -quiet=1 option, the installer will ask asks for confirmation of each variable before proceeding.
macOS
...
In the terminal Terminal, navigate to the location where you have extracted the vray_adv_5005060002_c4dr23_mavericks_x64.app file
Using the cd command, navigate inside the .app file and go to vray_adv_5005060002_c4dr23_mavericks_x64.app/Contents/macOS
In the terminal Terminal enter:
./vray_adv_5005060002_c4dr23_mavericks_x64 -gui=0You will be are prompted for your password – enter it.
Follow the installer 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_5005060002_c4dr23_mavericks_x64.app/Contents/macOS
and using the command:
./vray_adv_5005060002_c4dr23_mavericks_x64 -configFile="config.xml" -gui=0 -quiet=1 -ignoreErrors=1
...
Code Block | ||||
---|---|---|---|---|
| ||||
<DefValues> <Value Name="INSTALL_TYPE" DataType="value">0</Value> <Value Name="CINEMA_PLUGINS_DIR" DataType="value">C:\Program Files\Maxon Cinema 4D R23</Value> <Value Name="REMOTE_LICENSE" DataType="value">0</Value> <Value Name="SEND_USER_FEEDBACK" DataType="value">1</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:
...
CINEMA_PLUGINS_DIR | Directory for installing Cinema 4D plugins (only required for INSTALL_TYPE = 0) |
INSTALL_TYPE
| Specifies the installation type: 0 - Full 1 - Standalone only For a complete description of each installation type refer to the Installation section. |
STDROOT | Standalone tools or destination for V-Ray Standalone if INSTALL_TYPE = 1 |
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. |
SEND_USER_FEEDBACK | Controls whether the user feedback system will be is used. 0 will make - Cinema 4D ask on its own asks for feedback 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 Cinema 4D itself. |
INSTALL_CGLS | Specifies whether to install the Chaos Group License Server or not: 0 is to - skip the installation of License Server 1 is to - install Chaos License Server |
<LicServer> | This section specifies the client license settings. |
<Host>IP_Address</Host> | Primary license server's IP Address |
<Host1>IP_Address</Host1> | Alternate license server's 1 IP Address |
<Host2>IP_Address</Host2> | Alternate license server's 2 IP Address |
...
Silent Uninstall of V-Ray
...
A silent uninstall uninstallation allows you to remove your V-Ray installation without the need for user input during the process using a predefined set of options.
To perform a silent uninstall, the executable of the installer should be run from a Windows command prompt Command Prompt or from a Linux or macOS terminal Terminal with the following arguments:
...
Fancy Bullets | ||
---|---|---|
| ||
|
...
Performing a silent uninstall of V-Ray on Windows requires running the installer.exe file from the command prompt Command Prompt with the arguments specified in the Overview. In order to do that, you need to know the full path of the folder containing the V-Ray additional files and the exact name of the product you want to uninstall. Then you can execute the following command:
...
Performing a silent uninstall of V-Ray on macOS requires running the installer executable from a terminal Terminal with the arguments specified in the Overview.
...
Fancy Bullets | ||
---|---|---|
| ||
|