Announcement

Collapse
No announcement yet.

Vray 6 - Hotfix 1 - The End User License Agreement problem

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

  • Vray 6 - Hotfix 1 - The End User License Agreement problem

    Hello,

    After updating to Vray 6 Hotfix 1, a few of our workstations show this error message:
    The End User License Agreement document cannot be shown. Please reinstall V-Ray.
    We tried reinstalling Vray several times, rebooting the computers. This worked for some workstations, but others still cannot render.

    Click image for larger version

Name:	VrayLicenseAgreement.PNG
Views:	899
Size:	20.6 KB
ID:	1156262

    We can't find a work around, please help!


  • #2
    So we found the solution, we had to redo the config.xml file from the silent installer.

    Comment


    • #3
      Hi,

      We had the same problem reappearing on the same machines when upgrading to Vray 60008. It seems that this problem only appears when installing via the command line, reinstalling with the GUI installer fixes the problem. We never had the problem until the last 2 versions of Vray 6 (Hotfix 1 & 2)

      Comment


      • #4
        We are aware of the issue. If it's not a problem, could you share the config file with which the error was present?
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Hi, this is the config file used:
          Code:
          <DefValues>
          <Value Name="MAX_ROOT" DataType="value">C:\Program Files\Autodesk\3ds Max 2023\</Value>
          <Value Name="AUTO_INSTALL_UIMENUS" DataType="value">1</Value>
          <Value Name="APPDATAPATH" DataType="value">C:\Users\[user]\AppData\Roaming\Autodesk\ApplicationPlugins\VRay3dsMax2023</Value>
          <Value Name="PKGROOT" DataType="value">C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2023</Value>
          <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value>
          <Value Name="ALLUSERSPROFILE_ENV" DataType="value">C:\ProgramData</Value>
          <Value Name="APPDATA_ENV" DataType="value">C:\Users\[user]\AppData\Roaming</Value>
          <Value Name="COMMONFILES" DataType="value">C:\Program Files\Common Files</Value>
          <Value Name="INSTALL_ROOT" DataType="value">C:\Program Files\Chaos Group\Scatter\3ds Max 2023</Value>
          <Value Name="CMD_LINE_DEBUG" DataType="value">0</Value>
          <Value Name="PROGRAM_FILES" DataType="value">C:\Program Files</Value>
          <Value Name="PKGROOT_SELECT" DataType="value">0</Value>
          <Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
          <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\3ds Max 2023</Value>
          <Value Name="REMOTE_LICENSE" DataType="value">1</Value>
          <Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
          <Value Name="INSTALLROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\3ds Max 2023</Value>
          <Value Name="CLEANUP_LOG_FILE" DataType="value">C:\Program Files\Common Files\ChaosGroup\chaos_installs_cleanup.log</Value>
          <Value Name="VISIT_SPOT3D" DataType="value">0</Value>
          <Value Name="INSTALL_TYPE" DataType="value">0</Value>
          <Value Name="CMD_ARG_QUIET" DataType="value">0</Value>
          <Value Name="ALLUSERSPROFILEPATH" DataType="value">C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2023</Value>
          <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\ Start Menu\Programs</Value>
          <Value Name="MAXROOT" DataType="value">C:\Program Files\Autodesk\3ds Max 2023\</Value>
          <Value Name="SEND_USER_FEEDBACK" DataType="value">0</Value>
          <LicServer>
          <Host>MYSERVER</Host>
          <Port>30304</Port>
          <Host1></Host1>
          <Port1>30304</Port1>
          <Host2></Host2>
          <Port2>30304</Port2>
          <User>somedomainuser</User>
          </LicServer>
          </DefValues>
          I noticed that when I generate the XML file using this technique : https://docs.chaos.com/display/VMAX/...+and+Uninstall, the "APPDATAPATH" and "APPDATA_ENV" paths are in the name of the user who created the XML. I though that was the problem, so I replaced the name with "[user]" and so now my installation script replaces on the fly the "[user]" tags with the actual username who installs Vray.

          This is the command line I use to install silently, and I have tried several variations:
          Code:
          vray_adv_60008_max2023_x64.exe -configFile="S:\Vray\config.xml" -quiet=1 -auto
          
          and
          vray_adv_60008_max2023_x64.exe -gui=0 -configFile="S:\Vray\config.xml" -quiet=1 -auto
          
          and
          vray_adv_60008_max2023_x64.exe -configFile="S:\Vray\config.xml"
          I still have the problem on 3 specific computers. Reinstalling Vray using the GUI installer fixes the problem.

          Comment


          • #6
            Hi,
            The "APPDATAPATH"/"APPDATA_ENV" and "ALLUSERSPROFILEPATH"/"ALLUSERSPROFILE_ENV" and "PKGROOT" are filled by the installer automatically according to the user that runs the installation and they should not be set in the config.xml.
            "PKGROOT_SELECT" is the parameter that tells the installer which one of the paths should be used: "0" for ALLUSERSPROFILEPATH and "1" for APPDATAPATH

            Best regards,
            Alexander
            Alexander Kazandzhiev
            V-Ray for 3ds Max developer

            Comment


            • #7
              Hi alexander.kazandzhiev .

              We have been testing deployment of V-Ray 6 and also run into this issue. Can you please detail the solution for this?

              We created an xml config for each of the installers for V-Ray 6.10.08 for Max 2021, 2023 and V-Ray Standalone as per https://docs.chaos.com/display/VMAX/...+and+Uninstall

              We tested a deployment of the V-Ray packages using the xml files generated and we got the

              Code:
              The End User License Agreement document cannot be shown. Please reinstall V-Ray.
              error.

              To resolve it we had to reinstall using the GUI all packages (reinstalling one via the GUI was not enough to fix it).


              Here is our config for V-Ray Standalone

              Code:
              <DefValues>
               <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\Standalone for x64</Value>
               <Value Name="REMOTE_LICENSE" DataType="value">1</Value>
               <Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
               <Value Name="VIDEO_DRIVER_TDR_DELAY_INCREASE" DataType="value">1</Value>
               <Value Name="FIREWALL_EXCEPTION" DataType="value">1</Value>
               <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value>
               <Value Name="STD_PLUGINS_DIR" DataType="value">C:\Program Files\Chaos Group\V-Ray\Standalone for x64/bin/plugins</Value>
               <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value>
               <Value Name="SEND_USER_FEEDBACK" DataType="value">0</Value>
               <Value Name="INSTALL_CLS" DataType="value">1</Value>
               <LicServer>
                <Host>OUR-SERVER-IP</Host>
                <Port>30304</Port>
                <Host1></Host1>
                <Port1>30304</Port1>
                <Host2></Host2>
                <Port2>30304</Port2>
                <User></User>
               </LicServer>
              </DefValues>
              ​

              Our config for the Max 2021 installer

              Code:
              <DefValues>
               <Value Name="INSTALL_CCC" DataType="value">1</Value>
               <Value Name="AUTO_INSTALL_UIMENUS" DataType="value">1</Value>
               <Value Name="INSTALL_SCATTER_NEWER_VERSION" DataType="value">1</Value>
               <Value Name="PLUGINS" DataType="value">C:\Program Files\Autodesk\3ds Max 2021\plugins</Value>
               <Value Name="PROGRAMFILES" DataType="value">C:\Program Files</Value>
               <Value Name="COMMONFILES" DataType="value">C:\Program Files\Common Files</Value>
               <Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
               <Value Name="STDROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\3ds Max 2021</Value>
               <Value Name="REMOTE_LICENSE" DataType="value">1</Value>
               <Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
               <Value Name="CLEANUP_LOG_FILE" DataType="value">C:\Program Files\Common Files\ChaosGroup\chaos_installs_cleanup.log</Value>
               <Value Name="VISIT_SPOT3D" DataType="value">0</Value>
               <Value Name="INSTALL_TYPE" DataType="value">0</Value>
               <Value Name="CMD_ARG_QUIET" DataType="value">0</Value>
               <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value>
               <Value Name="MAXROOT" DataType="value">C:\Program Files\Autodesk\3ds Max 2021\</Value>
               <Value Name="SEND_USER_FEEDBACK" DataType="value">0</Value>
               <LicServer>
                <Host>OUR-SERVER-IP</Host>
                <Port>30304</Port>
                <Host1></Host1>
                <Port1>30304</Port1>
                <Host2></Host2>
                <Port2>30304</Port2>
                <User></User>
               </LicServer>
              </DefValues>​

              Our config for the Max 2023 installer

              Code:
              <DefValues>
               <Value Name="AUTO_INSTALL_UIMENUS" DataType="value">1</Value>
               <Value Name="INSTALL_SCATTER_NEWER_VERSION" DataType="value">1</Value>
               <Value Name="PKGROOT_SELECT" DataType="value">0</Value>
               <Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
               <Value Name="REMOTE_LICENSE" DataType="value">1</Value>
               <Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
               <Value Name="CLEANUP_LOG_FILE" DataType="value">C:\Program Files\Common Files\ChaosGroup\chaos_installs_cleanup.log</Value>
               <Value Name="INSTALLROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\3ds Max 2023</Value>
               <Value Name="VISIT_SPOT3D" DataType="value">0</Value>
               <Value Name="CMD_ARG_QUIET" DataType="value">0</Value>
               <Value Name="INSTALL_TYPE" DataType="value">0</Value>
               <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\Start Menu\Programs</Value>
               <Value Name="SEND_USER_FEEDBACK" DataType="value">0</Value>
               <LicServer>
                <Host>OUR-SERVER-IP</Host>
                <Port>30304</Port>
                <Host1></Host1>
                <Port1>30304</Port1>
                <Host2></Host2>
                <Port2>30304</Port2>
                <User></User>
               </LicServer>
              </DefValues>
              ​​​Any help on this would be greatly appreciated.

              thanks so much,
              Tristan.

              Comment


              • #8
                Hi joaquim_montserrat1 - just wondering did you do anything differently when you recreated the XML file from the silent installer the second time? I'm not seeing anything obvious in the xml files we have generated that would cause the issue. Any chance you could post your working xml for comparison?

                Comment


                • #9
                  Hello,

                  sorry I hadn't seen you posted a question. Here is the xml:


                  Code:
                  <DefValues>
                  <Value Name="MAX_ROOT" DataType="value">C:\Program Files\Autodesk\3ds Max 2024\</Value>
                  <Value Name="AUTO_INSTALL_UIMENUS" DataType="value">1</Value>
                  <Value Name="INSTALL_SCATTER_NEWER_VERSION" DataType="value">1</Value>
                  <Value Name="INSTALL_ROOT" DataType="value">C:\Program Files\Chaos Group\Scatter\3ds Max 2024</Value>
                  <Value Name="CMD_LINE_DEBUG" DataType="value">0</Value>
                  <Value Name="PROGRAM_FILES" DataType="value">C:\Program Files</Value>
                  <Value Name="PKGROOT_SELECT" DataType="value">0</Value>
                  <Value Name="OPEN_CHANGELOG" DataType="value">0</Value>
                  <Value Name="REMOTE_LICENSE" DataType="value">1</Value>
                  <Value Name="SHOULDUNINSTALL" DataType="value">1</Value>
                  <Value Name="CLEANUP_LOG_FILE" DataType="value">C:\Program Files\Common Files\ChaosGroup\chaos_installs_cleanup.log</Value>
                  <Value Name="INSTALLROOT" DataType="value">C:\Program Files\Chaos Group\V-Ray\3ds Max 2024</Value>
                  <Value Name="VISIT_SPOT3D" DataType="value">0</Value>
                  <Value Name="CMD_ARG_QUIET" DataType="value">0</Value>
                  <Value Name="INSTALL_TYPE" DataType="value">0</Value>
                  <Value Name="STARTMENUPROG" DataType="value">C:\ProgramData\Microsoft\Windows\ Start Menu\Programs</Value>
                  <Value Name="SEND_USER_FEEDBACK" DataType="value">0</Value>
                  <Value Name="VIDEO_DRIVER_TDR_DELAY_INCREASE" DataType="value">1</Value>
                  <LicServer>
                  <Host>MYSERVER</Host>
                  <Port>30304</Port>
                  <Host1></Host1>
                  <Port1>30304</Port1>
                  <Host2></Host2>
                  <Port2>30304</Port2>
                  <User>myuser</User>
                  </LicServer>
                  </DefValues>
                  
                  ​
                  Code:
                  \vray_adv_62006_max2024_x64.exe -gui=0 -configFile=config2024.xml -quiet=1 -auto
                  I believe the problem is gone. Note that in my installation script I also have a function that creates a directory "C:\Program Files\Chaos Group\V-Ray\3ds Max 2024\bin\networking". I think that was related, but I cannot remember why
                  Last edited by joaquim_montserrat1; 10-04-2024, 09:05 AM.

                  Comment

                  Working...
                  X