Announcement

Collapse
No announcement yet.

Install/Uninstalling Vray with command line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install/Uninstalling Vray with command line

    Hi there,

    I'm cleaning up the farm with old installations of Vray and I was wondering if there was any command line to automate this step?

    I would specially like one with wmic command prompt but it doesn't seams to be recognize by wmic.

    This would be really usefull as well if I want to quickly swap from one version to the other to be able to try Vray 3 out on the farm for example.

    By the way, I haven't really tried yet, but can Vray 3 be install the same way as vray 2 with the xml file? and can I just use the one from vray 2 and translate it for vray 3 or are there some specific option to amend?

    Thanks

    Stan
    3LP Team

  • #2
    What's wmic?

    Other than that, you can certainly install V-Ray 3.0 from the command line - it will automatically uninstall any previous versions too. I'm not sure if the .xml file changed from V-Ray 2.0 - I'll try to get you more details on that.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Here is some info from one of our developers:

      About the automation of the installation process:
      The same command line can be used for automatic install, as it was with V-Ray 2.0, although the xml configuration file should enlist some additional variables. Generally the process is well documented here (page 18 ):

      http://help.chaosgroup.com/vray/help...nstall_3_0.pdf

      Additional variables, not currently listed there which you may need are:
      STDROOT - Specifies the destination folder for V-Ray additoinal files (tools, documents, samples, libraries and uninstall information) RTROOT - Specifies the destionation folder for V-Ray RT files.
      SHOULDUNINSTALL - Specifies whether or not the installation will uninstall previous version:
      1 - uninstalls previous version
      0 - skips the uninstallation of previous version

      About the cleaning of previous installations:
      In order to use command line for uninstalling, you must know the full path of the folder containing V-Ray additional files (it is specified by the STDROOT variable from the config file) and you must know the exact name of the product you want to uninstall. Then the uninstallation process is quietly done by the command line:

      "<STDROOT>\uninstall\wininstaller.exe" -uninstall="<STDROOT>/uninstall/install.log" -uninstallApp="<PRODUCT_NAME>" -gui=0 -quiet=1

      Where <STDROOT> and <PRODUCT_NAME> are the destination and product name.
      The product name should be like: V-Ray for 3dsmax 20xx for x64.
      This works for versions of V-Ray before 3.0, and for 3.0 and above only the called executable must be "installer.exe" rather than "wininstaller.exe"
      Last edited by vlado; 03-01-2014, 10:34 AM.
      Technical Support
      Chaos Group

      Comment


      • #4
        Hey guys,
        This is good knowledge, thanks for sharing all of this!
        I will have quite some use of this

        Vlado, just for your information :
        Windows Management Instrumentation Command-line (WMIC), which uses the power of Windows Management Instrumentation (WMI) to enable systems management from the command line, is one of those reasons.
        http://technet.microsoft.com/en-us/l.../bb742610.aspx

        It's baby easy to use this to list installed software and uninstall them. Just have a glance here to see how easy it is :
        http://community.spiceworks.com/how_...-on-remote-pcs

        Cheers,

        Stan
        3LP Team

        Comment

        Working...
        X