7.1. Installing ANSYS, Inc. Products

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 Run as Administrator 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.

7.1.1. Silent Mode Operations

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 Flags

Productproduct_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
  
Note: Installing any of the above products will install ANSYS Workbench.
  
ANSYS Composite PrepPost-acp
ANSYS ICEM CFD Creo Parametric Interface -icemproe
ANSYS Icepak -icepak
ANSYS Viewer-aview
Remote Solve Manager Standalone Services-rsm
ANSYS TeamCenter Engineering -tceng
Creo Parametric -proe
NX-ug
CATIA 4.x-catia4
CATIA V5-catia5
CATIA V6-catia6
Parasolid-parasolid
ACIS-acis
SolidWorks-solidworks
Solid Edge-solidedge
Autodesk Inventor-adinventor
Creo Elements/Direct Modeling-cocreate
JTOpen-jtopen
AutoCAD-acad
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

For more information on which products are included with each installation, see Applications Included with Each Product.

7.1.1.1. Silent Product and License Manager Installation


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 Start>Run 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; please 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

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." Please see Installing the ANSYS License Manager of the ANSYS, Inc. 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:

-silentInitiates 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\.
-product_flag Specifies one or more products to install. If you omit the -product_flag 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.
-disablerssDisables automatic internet feeds to ANSYS, Inc. products.
-caspolAllows 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, please contact your system administrator or see Microsoft’s website http://msdn.microsoft.com/en-us/library/7c9c2y1w(v=vs.80).aspx.
-helpDisplays 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 languageSpecifies 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).
-licserverinfoSpecifies 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:

LI port number:FLEXlm port number:hostname

Example:

2325:1055:abc

Three license servers:

LI port number:FLEXlm port number:hostname1,hostname2,hostname3

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 -licserverinfo will be appended to existing information in the ansyslmd.ini file. To change information already in your ansyslmd.ini file, you must use the ANSLIC_ADMIN utility.

-nohelpBy default, for the products that are being installed, all help documentation is included. The -nohelp argument removes all help from the installation.
-langSpecifies a language to use for the products.

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.

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, Inc. Licensing Guide.

Specifying Products with an Options File

You can also specify an options file on the command line using the -productfile "path 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.

mechapdl
ansyscust
autodyn
cfdpost
cfx
turbogrid
fluent
polyflow
icemproe
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_CMD170=C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat (or your Creo Parametric start command)
    PROELOADPOINT= C:\Program Files\<Creo_dir>
Silent Prerequisites Installation

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 

7.1.1.2. Silent Product Configuration/Unconfiguration

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: -config, -unconfig, -prereqs, -caspol, and -product_flag. These options are described below.

  • -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 needs to be run once on each machine.

  • -product_flag -- Use to specify which products should be configured; see the above list of product_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\v170\ProductConfig.exe" -silent -prereqs
"\\machineabc\Program Files\ANSYS Inc\v170\ProductConfig.exe" -silent -caspol
"\\machineabc\Program Files\ANSYS Inc\v170\ProductConfig.exe" -silent -config

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.

7.1.1.3. Silent Media Installation

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 170-<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 <path> option for each drive:

    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.

7.1.1.4. Silent Uninstall

To run a silent uninstall, run the following from some location other than the \v170 directory:

C:\> <installation path>\v170\Uninstall.exe -silent

The silent uninstall will unconfigure and remove all products and remove the entire \v170 directory, including any user files or subdirectories that you have added to the \v170 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
Remote Solve Manager Standalone Services-rsm

For example, to uninstall only TurboGrid and Icepak, issue the following command:

C:\> <installation path>\v170\Uninstall.exe -silent -turbogrid -icepak

You 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.


Release 17.0 - © SAS IP, Inc. All rights reserved.