does this work also with vray for max?
best regards
themaxxer
Originally Posted by chuckie7413
Vlado is there a silent install option, so install can be done via command line?
Yep, there is.
Create an .xml file with contents similar to the one below, where you can specify the values for the various installer variables. If a variable is missing, a default value will be used (f.e. if the MAYAROOT variable is missing, it will be taken from the registry information about the Maya installation).
Then you can run the installer with the command:
Code:
vray_adv_150SP1_maya2011_x64.exe -gui=0 -configFile="xml_file.xml" -quiet=1
Obviously, replace the name of the installer .exe with the actual one that you want to run. The -gui=0 option tells it to run in command line mode; the -configFile option specifies the path and file name to a .xml from which the values of the various installer variables are read; the -quiet option tells it to run without prompting the user for input. If you omit the -quiet option, the installer will prompt you to confirm each variable (probably a good idea to run it this way while testing).
Below is an example .xml file, here is a description of the variables:
MAYAROOT - this is the root Maya folder;
STDROOT - this is the folder where various other files will be installed (documentation, SDK etc);
MODULEDEST - the Maya modules folder;
PLUGINS - this is the folder where V-Ray specific Maya-related stuff will be installed (scripts, plugins etc);
OPEN_CHANGELOG - this is 1 to open the changelog after the installation and 0 if you don't want it to open;
INSTALL_TYPE - 0 is full install (workstation, includes SDK); 1 is standalone only;
Example .xml file:
Code:
<DefValues> <Value Name="MAYAROOT" DataType="value">D:\Maya2011_x64\</Value> <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\Maya 2011 for x64</Value> <Value Name="MODULEDEST" DataType="value">D:\Maya2011_x64/modules</Value> <Value Name="PLUGINS" DataType="value">D:\Maya2011_x64/vray</Value> <Value Name="OPEN_CHANGELOG" DataType="value">0</Value> </DefValues>
If there is a previous build of V-Ray for Maya installed, it will be automatically removed before the new files are copied.
Best regards,
Vlado
Vlado is there a silent install option, so install can be done via command line?
Yep, there is.
Create an .xml file with contents similar to the one below, where you can specify the values for the various installer variables. If a variable is missing, a default value will be used (f.e. if the MAYAROOT variable is missing, it will be taken from the registry information about the Maya installation).
Then you can run the installer with the command:
Code:
vray_adv_150SP1_maya2011_x64.exe -gui=0 -configFile="xml_file.xml" -quiet=1
Obviously, replace the name of the installer .exe with the actual one that you want to run. The -gui=0 option tells it to run in command line mode; the -configFile option specifies the path and file name to a .xml from which the values of the various installer variables are read; the -quiet option tells it to run without prompting the user for input. If you omit the -quiet option, the installer will prompt you to confirm each variable (probably a good idea to run it this way while testing).
Below is an example .xml file, here is a description of the variables:
MAYAROOT - this is the root Maya folder;
STDROOT - this is the folder where various other files will be installed (documentation, SDK etc);
MODULEDEST - the Maya modules folder;
PLUGINS - this is the folder where V-Ray specific Maya-related stuff will be installed (scripts, plugins etc);
OPEN_CHANGELOG - this is 1 to open the changelog after the installation and 0 if you don't want it to open;
INSTALL_TYPE - 0 is full install (workstation, includes SDK); 1 is standalone only;
Example .xml file:
Code:
<DefValues> <Value Name="MAYAROOT" DataType="value">D:\Maya2011_x64\</Value> <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\Maya 2011 for x64</Value> <Value Name="MODULEDEST" DataType="value">D:\Maya2011_x64/modules</Value> <Value Name="PLUGINS" DataType="value">D:\Maya2011_x64/vray</Value> <Value Name="OPEN_CHANGELOG" DataType="value">0</Value> </DefValues>
If there is a previous build of V-Ray for Maya installed, it will be automatically removed before the new files are copied.
Best regards,
Vlado
best regards
themaxxer
Comment