Installing ArcGIS for Desktop silently

ArcGIS for Desktop can be installed without a user interface (UI) by running the setup using Windows Installer command line parameters.

It is highly recommended that you include the ESRI_LICENSE_HOST, SOFTWARE_CLASS, SEAT_PREFERENCE, and DESKTOP_CONFIG command line parameters when installing silently. This will enable a user to install without UI interaction or having to complete the ArcGIS Administrator Wizard.

NoteNote:

Upgrading to10.2.2? For more information, see Existing_ArcGIS_Desktop_users.

Requirements

  • Windows Installer version 3.1 must be installed and running on your machine prior to running the ArcGIS for Desktop setup silently.
    • The Windows Installer executable instmsi3.exe can be accessed from the ArcGIS for Desktop Installation DVD to install the Windows Installer if required.
  • All versions earlier than 10.1 must be uninstalled before you proceed with the silent installation.

ArcGIS for Desktop installation command line parameters

The following are the command line switches to execute the ArcGIS for Desktop MSI directly. Use these with the MSI direct commands as required. The parameters are case sensitive and should be used as defined below.

Parameter

Value

Required

Description

ESRI_LICENSE_HOST=

License Manager

Yes

Machine name of license manager.

SOFTWARE_CLASS=

Viewer

Yes

Installs ArcGIS for Desktop as Basic (ArcView).

Editor

Installs ArcGIS for Desktop as Standard (ArcEditor).

Professional

Installs ArcGIS for Desktop as Advanced (ArcInfo).

SEAT_PREFERENCE=

Fixed

Yes

Installs your ArcGIS software class as a Single Use seat.

Float

Yes

Installs your ArcGIS software class as a Concurrent Use seat.

INSTALLDIR

No

ArcGIS for Desktop installation location. If not specified, the installation location is %System Drive%\Program Files\ArcGIS.

INSTALLDIR1

No

Python installation location. If this feature is required and the value is not specified, the default location is Python27 on the local drive with the most available disk space.

DESKTOP_CONFIG

TRUE

Yes (if you supply ESRI_LICENSE_HOST, SOFTWARE_CLASS, and SEAT_PREFERENCE on the command line)

Setting this parameter to TRUE will prevent ArcGIS Administrator Wizard from being launched automatically at the end of the setup.

RENEWAL_CHECK

TRUE

No

Setting this to TRUE will enable users to use the license renewal option in ArcGIS Administrator to automatically update expiring licenses instead of browsing to new provisioning files.

BLOCKADDINS

#0

No

Load all add-ins regardless of whether they have digital signatures.

#1

No

Only load and use add-ins that are digitally signed by a trusted certificate authority.

#2

No

Only load and use add-ins that have been published by Esri.

#3

No

Only load add-ins from the administrator folders and all add-ins published by Esri.

#4

No

Do not load or execute add-ins in this application.

ENABLEEUEI

0

No

Do not enable participation in the Esri User Experience Improvement.

1 (1 is default)

No

Enable participation in the Esri User Experience Improvement.

MODIFYFLEXDACL

TRUE

No

The default value is FALSE. Enabling this property to TRUE alters the following permissions to allow management of the FlexNet anchor service by any user:

SERVICE_QUERY_CONFIG SERVICE_QUERY_STATUS SERVICE_ENUMERATE_DEPENDENTS SERVICE_START SERVICE_INTERROGATE SERVICE_USER_DEFINED_CONTROL READ_CONTROL

How to perform a typical installation of ArcGIS for Desktop without user interaction

Run this command from the command line to install ArcGIS for Desktop as ArcInfo Concurrent Use using the machine GIS as the license manager. This example will also install Python to D:\python27:

<setup staging location>\setup.exe ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE INSTALLDIR1=D:\python /qb

Additional command line parameters are available:

INSTALLDIR=<installation directory> can be used to specify an installation location. The default location is C:\Program Files\ArcGIS if no INSTALLDIR parameter is given. If you are upgrading to 10.2.1 from 10.1 (including SP1) and the INSTALLDIR parameter is not available, it will detect the installation location. INSTALLDIR1=<installation directory> can be used to specify an installation location for Python. The default location for this feature is python27 on the local drive with the most available disk space.

The following is an example of a client installation where an administrative user exists on a server (\\machinename):

\\machinename\ArcGIS\setup.exe INSTALLDIR=C:\ArcGIS ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE /qb
NoteNote:

/qb provides the basic UI of the progress status and error handling; /qn provides no UI at all.

Refer to the Microsoft command line options information for full details at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp.

How to perform a complete installation of ArcGIS for Desktop silently

Run this command from the command line to install a Complete ArcGIS for Desktop as ArcEditor with the machine GIS as the license manager:

<setup staging location>\setup.exe ADDLOCAL=ALL ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE /qb

An additional command line parameter is available:

INSTALLDIR=<installation directory> if you do not want to install to the default location of C:\Program Files\ArcGIS. If you are upgrading to 10.2.2, and the INSTALLDIR parameter is not applicable, it will detect the installation location.

For example

<setup staging location>\setup.exe INSTALLDIR=C:\ArcGIS ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE /qb
NoteNote:

To specify the installation location for a silent administrative installation, the command line property is TARGETDIR rather than INSTALLDIR.

How to perform a custom installation of ArcGIS for Desktop silently

Run this command from the command line to perform a custom ArcGIS for Desktop installation as an ArcInfo seat type with the machine GIS as the license manager:

<setup staging location>\setup.exe /qb ADDLOCAL=<feature1>,<feature2>,.... ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float DESKTOP_CONFIG=TRUE /qb

Specify installation features as follows:

ADDLOCAL feature (Each feature name must be specified; for example, you cannot use ADDLOCAL=Applications to install all Application subfeatures.)

Applications

ArcMap

ArcCatalog

Miscellaneous features

Python

Extensions

Ext_3D_Analyst

ArcScan

GeoStatisticalAnalyst

ArcMap_Publishing_Extension

SpatialAnalyst

Schematics

NetworkAnalyst

TrackingAnalyst

Styles

CivicAndBusiness

NaturalResources

Templates

TemplateGeneral

TemplateIndustry

TemplateWorld

TemplateUSA

NoteNote:

  • All dependencies and relevant files will also be installed with the specified feature.
  • Feature names are case sensitive.

How to perform an uninstallation of ArcGIS 10.2.2 for Desktop silently

To uninstall a product silently, use the following Windows installer command:

msiexec.exe /x <{product code}> /qb

For example, to uninstall ArcGIS 10.2.2 for Desktop silently, use the following command line:

msiexec.exe /x {761CB033-D425-4A16-954D-EA8DEF4D053B} /qb

ArcGIS products can be uninstalled silently using the product code. The knowledge base article 28709 is updated and available with the product codes for ArcGIS releases.

3/7/2014