This section explains how to install ANSYS, Inc. products.
ANSYS, Inc. requires that you have full administrative privileges when installing any software on Microsoft Windows 7, Windows 8.1 or Windows 10. Non-administrative accounts do not usually have the permissions required to access system areas that installation programs often need to modify. “Full administrative privileges” means that you are running as administrator with UAC turned off, or you are running as administrator with UAC turned on and selected. Because of changes to the UAC functionality, it is necessary that you right-click and select Run as Administrator from the context menu when installing to Windows 8.1.
Windows 7, Windows 8.1 and Windows 10 use a feature called User Account Control (UAC) to control privileges and automatically reduce the potential of security breaches in the operation system. However, UAC limits your accessibility to system areas and can cause unpredictable behavior in ANSYS, Inc. products, as noted below.
ANSYS, Inc. supports silent mode operations, including installation, configuring/unconfiguring, and uninstalling.
You can specify the following product flags. These flags are all valid for a silent install. However, because of the way the products are packaged, not all of these flags may be valid for a silent configuration/unconfiguration or uninstall. Not all products are available on all platforms.
For silent mode operations, if you do not specify any product arguments, all available products will be installed, configured, or uninstalled.
| Product |
product_flag
|
|---|---|
| Mechanical APDL | -mechapdl |
| ANSYS Customization Files | -ansyscust |
| ANSYS Autodyn | -autodyn |
| ANSYS LS-DYNA | -lsdyna |
| ANSYS CFD-Post | -cfdpost |
| ANSYS CFX | -cfx |
| ANSYS TurboGrid | -turbogrid |
| ANSYS Fluent | -fluent |
| ANSYS Polyflow | -polyflow |
| ANSYS Aqwa | -aqwa |
| ANSYS ICEM CFD | -icemcfd |
| ANSYS AIM | -aim |
| ANSYS Forte | -forte |
| ANSYS Chemkin | -chemkinpro |
| ANSYS Energico | -energico |
| ANSYS FENSAP-ICE | -fensapice |
| ANSYS Reaction Workbench | -reactionwb |
| ANSYS Model Fuel Library (Encrypted) | -mfl |
| Note: Installing any of the above products will install ANSYS Workbench. | |
| ANSYS Icepak | -icepak |
| ANSYS Viewer | -aview |
| Remote Solve Manager Standalone Services | -rsm |
| ANSYS TeamCenter Engineering | -tceng |
| CATIA 4.x | -catia4 |
| CATIA V6 | -catia6 |
| Parasolid | -parasolid |
| ACIS | -acis |
| Creo Elements/Direct Modeling | -cocreate |
| JTOpen | -jtopen |
| SolidWorks Reader | -solidworks_reader |
| SolidWorks Plugin | -solidworks_plugin |
| CATIA 5 Reader | -catia5_reader |
| CATIA 5 Plugin | -catia5_plugin |
| Autodesk Inventor Reader | -adinventor_reader |
| Autodesk Inventor Plugin | -adinventor_plugin |
| Creo Parametric Reader | -proe_reader |
| Creo Parametric Plugin | -proe_plugin |
| NX Reader | -ug_reader |
| NX Plugin | -ug_plugin |
| AutoCAD Reader | -acad_reader |
| AutoCAD Plugin | -acad_plugin |
| Solid Edge Reader | -solidedge_reader |
| Solid Edge Plugin | -solidedge_plugin |
| SpaceClaim Direct Modeler Configuration* | -scdm_config |
| ANSYS SpaceClaim Configuration* | -sc_config |
| * The SpaceClaim Direct Modeler Configuration and ANSYS SpaceClaim Configuration product flags perform product configuration only and and DO NOT perform any product installation functions. SpaceClaim Direct Modeler is installed as part of WorkBench while ANSYS SpaceClaim is a stand-alone application. While SpaceClaim Direct Modeler and ANSYS SpaceClaim can be installed on the same computer, only one of the applications can be configured with ANSYS Workbench at any given time. | |
For more information on which products are included with each installation, see Applications Included with Each Product.
Caution: A silent license manager installation could shut down the ANSYS, Inc. License Manager, affecting other users who are using that license server machine.
You can deploy an ANSYS, Inc. product installation in silent mode. The general form to run a silent product installation, including the client licensing, from the menu is:
setup.exe -silent -product_flag
Note: In Windows 8.1 and 10 it is necessary to run silent commands from an administrator prompt. To access a Run as Administrator command prompt, click Start Screen> All apps> right-click the Command Prompt Icon> select Run as Administrator.
The above form will install the products specified (see the list of
product_flags above). Additional command line
arguments are available; see the list below.
For example, to install TurboGrid and Icepak to the default installation directory, issue the following command:
setup.exe -silent -install_dir “C:\Program Files\ANSYS Inc” -turbogrid -icepak
Note: If you do not specify a product flag, all products will be installed.
To install the ANSYS License Manager on Windows systems that will act as license servers, you must run the setupLM.exe:
setupLM.exe -silent
The silent license manager installation is valid only for the default Licensing Configuration option "Run the ANSYS Licensing Interconnect with FLEXlm." See Installing the ANSYS License Manager of the ANSYS Licensing Guide for more information.
If you are installing the license manager to a non-default installation directory, you can use the silent installation method, but only for the initial installation. To change the license manager installation directory for future installations, you will need to uninstall the license manager before reinstalling to a different directory.
You can use the following arguments when running a silent installation:
-silent
| Initiates a silent installation. |
-install_dir
"path" | Specifies the directory to which the product is to be
installed. For the installation directory, you must enclose the
path in quotes if you have spaces in the pathname. If you want
the product to install to the default location, you can omit the
-install_dir argument. The default location
is <os drive>:\Program
Files\ANSYS Inc\. |
-
| Specifies one or more products to install. If you omit the
-
argument, all products will be installed. See the list of valid
product_flags above. |
-productfile
"path" | You can specify an options file that lists the products you want to install. To do so, you must provide a full path to a file containing desired products. See Specifying Products with an Options File for more details. |
-caspol
| Allows the .NET binaries that are located under the \ANSYS Inc directory on the shared machine to be run from the network. You must have administrative privileges to modify the security policy. Use this option when you specify a network location as the installation directory. To understand the implications of this security exception for .NET, contact your system administrator or see Microsoft’s website http://msdn.microsoft.com/en-us/library/7c9c2y1w(v=vs.80).aspx. |
-help
| Displays a list of valid arguments for a silent installation. |
-licfilepath
"path" | Specifies the location of the license file to install. If the path is not specified or if the path is the same as the existing license file, the license file will not be installed. Valid only when doing a silent license manager installation (setupLM.exe). |
-setliclang
language
| Specifies a language to use for the server ANSLIC_ADMIN utility and the ANSYS,
Inc. Licensing Interconnect log file. Use the language directory
name in the language subdirectory of the licensing directory
(en-us, fr,
de, etc.) as the
language value. This flag can be
used during a GUI installation as well. Valid only when doing a
license manager installation
(setupLM.exe). |
-licserverinfo
| Specifies information to be used by the client for the
license server. Valid only in conjunction with a silent
installation (setup.exe). The format
is: Single license server:
Example: 2325:1055:abc Three license servers:
Example: “2325:1055:abc,def,xyz” The default values for the Licensing Interconnect and FlexNet port numbers (2325 and 1055, respectively) will be used if they are not specified. However, you do need to include the colons. In a three-server environment, you also need to enclose the values in quotes (Windows only). Example: ::abc or “::abc,def,xyz” Information
specified via |
-nohelp
| By default, for the products that are being installed, all
help documentation is included. The
-nohelp argument removes all help from the
installation. |
-lang
| Specifies a language to use for the products. |
Caution: To avoid the possibility of installation failure, we strongly recommend that you place quotation marks around all paths contained in command line arguments.
Example:
-install_dir “C:\Program Files\ANSYS Inc”
-productfile “C:\temp\optionsfile”
The silent installation process will automatically close certain applications, possibly resulting in lost data. You should always close all programs before starting a silent install. A silent install will first install any necessary prerequisites that are not already on your system and then continue with the installation. You must have administrative privileges to install prerequisites; if not, the silent install will exit and write a message to the log file.
Microsoft .NET Framework 4.6.2 is now required for running ANSYS products. If your installation computer(s) does not have .NET 4.6.2 installed, the installation program will install .NET 4.6.2 as a prerequisite and may require a system restart after exiting the installation and before running any ANSYS products. If this is the case, a restart message can be found in the install.err error file.
Installation log files are located in the installation directory:
install.log contains installation messages, and
install_licconfig.log contains licensing installation
messages. In rare circumstances with a silent licensing installation, the
licensing installation messages may not be written to the
install_licconfig.log (for example, if the silent
licensing installation aborts); in these cases, you may find error messages in
the
.ansys_install_temp_licconfig_<user>_<index>.log
file, located in %TEMP%.
For more information on the silent license manager installation, see Installing the ANSYS License Manager of the ANSYS Licensing Guide.
You can also specify an options file on the command line using the
-productfile "
option. The options file can specify which products you want to install. The
options file can contain all possible products, with the products you do not
want to install commented out, or it can contain only the products you want to
install. An example options file is shown below. In the example, Creo Parametric and
NX are commented out using the acceptable comment indicators. When
using the options file, do not include the dash (-) before the product
name.path”
mechapdl ansyscust autodyn cfdpost cfx turbogrid fluent polyflow icepak ::proe REM ug
To run with NX and Creo Parametric:
NX: Verify that your UGII environment variables are set, and the configuration will pick them up automatically.
Creo Parametric: Verify that the following environment variables are set:
| PROE_START_CMD182=C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat (or your Creo Parametric start command) |
PROELOADPOINT= C:\Program
Files\<Creo_dir> |
The ANSYS, Inc. product installation requires several prerequisites. These prerequisites often require administrative permissions to install. If you want to install as a non-administrative user but require prerequisites, you can install the prerequisites separately by running InstallPreReqs.exe from the top level directory as an administrator. You can also install the prerequisites silently using the following command:
InstallPreReqs.exe -silent
You can also run the ProductConfig.exe via command line (i.e., silent mode) to configure or unconfigure products.
From each client machine, run the ProductConfig.exe
-silent with the following options specified on separate lines
(see the example below): -config, -unconfig,
-prereqs, -caspol, and
-. These options
are described below.product_flag
-config/-unconfig -- Use with the
-silent option to indicate that products should
be configured/unconfigured.
-prereqs -- Required to install the necessary
prerequisites on your system. Prerequisites must be installed once on
each machine.
-caspol -- Required to modify the necessary .NET
security settings to allow the product to run across the network. This
option must be run once on each machine.
- -- Use to
specify which products should be configured; see the above list of
product_flagproduct_flags. If you do not specify one or
more products, all products that have been installed will be configured.
Use the -help option for a list of commands available
for use with ProductConfig.exe.
An example command for silent configuration is:
"\\machineabc\Program Files\ANSYS Inc\v182\ProductConfig.exe" -silent -prereqs "\\machineabc\Program Files\ANSYS Inc\v182\ProductConfig.exe" -silent -caspol "\\machineabc\Program Files\ANSYS Inc\v182\ProductConfig.exe" -silent -config -<product_flag>
Note: When performing -config on one or more products, the -prereqs and -caspol options must be run prior to running the -config option as shown in the example above.
All operations and error messages that are encountered while using the silent product configuration/unconfiguration option are written to the productConfig.txt file in the %TEMP% directory of the client machine. No log files are written to the machine that is hosting ProductConfig.exe.
To run a silent installation from the media, you can either:
Copy the contents of each DVD to a folder on the machine's hard disk
such that the
182-<number>.dvd
files of each DVD are located in the same directory. You can then
proceed with the silent installation as described earlier.
Place all of the media in separate drives (any combination of virtual
ISO mounts or hardware drives) so that they can be accessed
simultaneously during the installation. Then run the silent installation
as described earlier, but include the additional -media_dir2
< option for each
drive:path>
setup.exe -silent -product_flag-media_dir2 <path>
The installer uses the mount directory from which it was launched as
the first media path; you need to specify only the location of the
subsequent DVD(s) using the -media_dir2 option shown in
the example above.
To run a silent uninstall, run the following from some location other than the \v182 directory:
C:\> <installation path>\v182\Uninstall.exe -silentThe silent uninstall will unconfigure and remove all products and remove the entire \v182 directory, including any user files or subdirectories that you have added to the \v182 directory.
Because of the way ANSYS, Inc. products are packaged, not all of the
product_flags shown above are valid. To uninstall
individual products, use the following product options in conjunction with the
-silent argument:
| Mechanical APDL | -mechapdl |
| ANSYS Aqwa | -aqwa |
| ANSYS CFX | -cfx |
| ANSYS CFD-Post | -cfdpost |
| ANSYS Fluent | -fluent |
| ANSYS Polyflow | -polyflow |
| ANSYS ICEM CFD | -icemcfd |
| ANSYS TurboGrid | -turbogrid |
| ANSYS Icepak | -icepak |
| ANSYS FENSAP-ICE | -fensapice |
| Remote Solve Manager Standalone Services | -rsm |
For example, to uninstall only TurboGrid and Icepak, issue the following command:
C:\> <installation path>\v182\Uninstall.exe -silent -turbogrid -icepakYou can also issue the -help option to see a list of valid
arguments for a silent uninstall.
Uninstalling CFD-Post CFD-Post can be installed as a standalone product. As a standalone
product, it is also automatically installed with Fluent, Polyflow, and
Icepak. To uninstall the standalone version of CFD-Post, you must specify
-cfdpost as well as all of the above products that you
have installed.
Note that CFD-Post is also installed with CFX; however, you do not need to uninstall CFX to uninstall the standalone version of CFD-Post, and uninstalling the standalone version of CFD-Post will not remove the CFD-Post capability from CFX.