Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products

Unable to Install Ansys Rocky Through SCCM/MECM

    • Patrick Guerrisi
      Subscriber

      Hi

      We use SCCM ( now known as MECM) to deploy software to our staff and computer labs. SCCM uses the SYSTEM account when it installs

      However when installing as system it throws up the following error :

       

      The commandline I am using is:

      ansys-rockybundle-bin-22.2.X-win64.exe /SILENT

      There is another post about this exact issue but the response given is not the solution:

      Rocky installation under the SYSTEM account fails (ansys.com)

      When I run the install command with my user account with administrator privileges it installs without error

      Can anyone provide a solution why this error is showing when installing as system?

    • Mangesh Bhide
      Ansys Employee

       

      Hello,

      As indicated in the initial response in the post you referenced, please include the target directory with the DIR= flag.

       

      Secondly, the error Failed to expand shell folder userdesktop seems to be a generic error seen by many installers.

      Please see if any of the suggestions on this webpage are also helpful to you
      https://www.reddit.com/r/SCCM/comments/kvsfvr/failed_to_expand_shell_folder_constant/?rdt=34733

       

    • Patrick Guerrisi
      Subscriber

      Hi

      Thanks for the reply

      I added the Path switch to the install string and looks like the mapped drive error has stopped popping up but I am still getting the the error Failed to expand shell folder userdesktop

      I have added the suggestion from that thread but it hasnt worked

      Here is my install string:

      ansys-rockybundle-bin-23.1.1-win64.exe" "/DIR=C:\Program Files\ANSYS Inc\v231\Rocky" /VERYSILENT /MERGETASKS="!desktopicon"

      Screenshot:

    • Mangesh Bhide
      Ansys Employee

      as mentioned earlier, it appears that the shell setup runs under is unable to expand userdesktop

      perhaps in your install.cmd you can test by adding a line like below beffore the line for silent setup (assuming c:\temp exists)

      set userdesktop=C:\temp\

       

      if this works, you will need to see if anything got written to the c:\temp folder 

      I suspect it is trying to create desktop icons but unable to locate or unable to access whatever userdesktop is pointing to

      this is an experiment, hope it helps find the root cause.

       

    • Patrick Guerrisi
      Subscriber

       

      Hi

      Thanks for the reply again

      I was able to do a regular manual install with the parameter /saveinfo and unchecked all the desktop icons. This resolved the problem with the "failed to expand Shell Folder Constant "userdesktop" error I was getting

      I have been testing this on a VM with Windows 10 on it

      I still get the original error even with setting the directory install location which is strange

      See below what my install string is and that error that keeps showing at the end of the install ( as system account )

      The process exe is named Fluent_coupling.exe 

      I could just kill that process at the end. 

      Install string used is:

      "ansys-rockybundle-bin-23.1.1-win64.exe" "/DIR=C:\Program Files\ANSYS Inc\v231\Rocky" /VERYSILENT /LOADINF="%~dp0Rocky_params.inf"

       

       

       

       

    • Mangesh Bhide
      Ansys Employee

      Hello,

      I used a test machine with Rocky 2023 R1 not installed. downloaded and unzipped the Rocky 2023 R1 update with full package .zip file and extracted to the path you are using

      I also used the command line as shown. Rocky installed in minutes without any errors 

      I am not sure where the references to K and W drive are coming from. Please check the system's path and other environment variables if it is runnign python from those locations. perhaps try unsetting those portions of the path / environment ?

      What else is being done in the .inf file ?Are you also trying to install the Fluent export plugin ?

       

      hope this helps

    • Patrick Guerrisi
      Subscriber

      Did you use psexec to install via the system account?

      If not that would be why you get no error

       

      I've tried on multiple machines and even with a brand new Frehley imaged window 10 install and when I use the system account I get that error at the end 

    • Mangesh Bhide
      Ansys Employee

      Hello 

      I did not use psexec. what account is psexec running as ? Are W and K drives mapped for other users, but not for the user that psexec runs as ?

      also I did not hear on which options are in the .inf file

Viewing 7 reply threads
  • You must be logged in to reply to this topic.