TAGGED: Installation-SCCM-system
-
-
January 27, 2022 at 1:12 pm
ZID
SubscriberOur attempt to install Ansys via SCCM (= LocalSystem account / NT-AuthoritySystem) fails in the majority of cases.
According to the install.log the installation always hangs at the following point (ANSYS 2021 R1 and R2):
Extraction: C:WINDOWSccmcache43nexusWINX64.7z ...
But in the task manager there is no 7z.exe (7-ZIP) to be seen any more, only the process setup.exe, which however does not seem to continue working.
This issue seems to have been recurring with others for years as well, i.e. Software Deployment : Ansys 13 (itninja.com)
The problem occurs only via automated SCCM required collections. With available colletions and manually installations (always in the system account) the installations ends without similar errors in most of the cases.
February 1, 2022 at 7:49 amZID
SubscriberAt 2021 R1 I could identify exactly four files packed with 7zip where the error occurs:
Extraktion: ...\nexus\WINX64.7z ...
Extraktion:...\optislang\WINX64.7z...
Extraktion: ...\addprint\WINX64.7z ...
Extraktion:...\spaceclm\WINX64.7z ...
The 7z.exe and 7z.dll used by the ANSYS installer is located in the "util\7zip" subfolder and has version 19.00 (x64). Although it has the same version number, the ANSYS 7zip.exe and 7z.dll seem to be different from the Igor Pavlov originals. And indeed,in the R2 7zip subfolder there is a README.txt which says:"For source code for 7zip, please contact techsupp@ansys.com and the source code will be supplied as long as the request is made within 3 years of product release."
If in the the 7z.exe and 7z.dll of the ANSYS version are replaced by those of the original Pavlov version, the deployment via required collections is successful.
February 1, 2022 at 10:05 amZID
SubscriberThe four WINX64.7z files mentioned are all packed in the compression level 5 = normal.
If the four WINX64.7z files in question are compressed to a different compression level (0 = store, 1 = fastest, 3 = fast), then the installation also runs through a SCCM required collection without any problems.
So, if someone has similar problems deploying via Microsoft SCCM required collections, then this two workarounds will help:
Replace ANSYS 7zip.exe and 7zip.dllwith the original ones from Igor Pavlov in the subfolder "util\7zip".
Download and extract the 64-bit MSI: https://www.7-zip.org/download.html
or take the two files from the program directory of an original 7-Zip installation.
Recompress the identified WINX64.7zfiles to a lower compression level (0 to 3).
The 1st workaround is of course the easier one, because the affected WINX64.7z files mayprobably change with anotherAnsys version. However, I don't know why ANSYS has rebuilt its own 7zip.exe/dll - is it for technical or legal reasons?
February 8, 2022 at 2:29 pmGeorge Karnos
Ansys EmployeeThank You for posting your workaround.
Checking with the Build team:
The version of 7-Zip supplied in recent releases in 19.00.This is the stock build of 7-Zip and we have not rebuilt it ourselves.
We include it as all people do not have 7zip installed on their system.
February 9, 2022 at 1:04 pmZID
SubscriberThanks for asking the Build team.
This is really a strange thing. The file sizes are different: Ansys 7z.exe = 474 KB and Ansys 7z.dll = 1534 KB. The original Pavlov ones of the same Version: 7z.exe = 458 KB and 7z.dll = 1640 KB. Also the files content is different.
So, I cannot believe that the Ansys 7-Zip files are from a non rebuilted stock build of 7-Zip.
I recommend the Ansys build team to replace their7zip files with the latest ones from Pavlov.
February 9, 2022 at 4:53 pmGeorge Karnos
Ansys EmployeeThank You! I have passed that along.
February 15, 2022 at 4:30 pmZID
SubscriberVia Ansys Support via CADFEM Support I received the following answer from the Dev team:
"The version of 7-zip used in our installer was rebuilt because the stock binaries on the official 7-zip publisher's website uses Visual Studio 6.0 which is a very old compiler. For security reasons, many of our customers want all of our software to be built using modern compilers. Our version of 7-zip was rebuilt with Visual Studio 2015 in May of 2019 by the EBU. They should have the source code they used for the rebuild."
February 15, 2022 at 5:06 pmGeorge Karnos
Ansys EmployeeHello ZID
I have just received the same information today from our build team.
I apologize for the misinformation before as that is what I initially received.
February 15, 2022 at 5:09 pmZID
SubscriberHello Geo Karnos!
No problem. Let's see if 7zip will be replaced in the next releases. Best regards from Tyrol (Austria)February 17, 2022 at 9:47 amDaveLowe
SubscriberThank you for this info Geo, I came across it because my own silent installation of 2022 R1 appeared to have hung in a similar way but not sure now that it is the same issue anyway.
February 17, 2022 at 1:49 pmZID
SubscriberDave, take a look at the log file to see where it hangs: %ProgramFiles%\ANSYS Inc\install.log or %ProgramFiles%\ANSYS Inc\ANSYS Student\install.log
If it stops at an "Extraction:" step, I would strongly suspect a similar problem with a similar solution: Replace the 7zip.exe and 7zip.dll with the original Pavlov's ones.
If this alone does not help, then recompress the affected WINX64.7z files with a lower compression level.
March 6, 2022 at 4:30 pmZID
SubscriberBad news for ANSYS 2022 R1 (v221)!
The two workarounds no longer work with the full version ANSYS 2022 R1. With a deployment via Microsoft SCCM required collections, the installation hangs during the extraction of "optislang\WINX64.7z".
So, if you don't need AnsysoptiSLang, you should exclude it from the installation.
No comparable problems were found with the student version.
September 30, 2022 at 7:58 pmsanjeev
SubscriberTrying to do this now with Ansys 2022 R2
Same issue with SCCM Required deployment !!!!Anyone have a solution at all?
Going round thousands of machines installing one at a time is not a workaround we can useAnsys... why???
-
October 27, 2022 at 6:58 am
JM Derksen
SubscriberI have seen this issue also with other installers, from other Vendors.
Try setting "Run installation and uninstall program as 32-bit process on 64-bit clients." on the deployment type (Programs Tab)
Viewing 12 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- License Error
- Error with workbench SceneGraphChart
- How can I renew ANSYS student version license?
- Workbench not opening
- Sizing on Ansys Workbench 19.2
- Workbench error
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Ansys2021R2 ansys212 seg faults immediately on RHEL8.2
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
Top Contributors-
5414
-
3391
-
2471
-
1310
-
1022
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-