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.

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 previous versions must be uninstalled before you proceed with the silent installation. See Uninstalling previous ArcGIS products for more information.

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.

Parameter

Value

Case sensitive

Required

Description

ESRI_LICENSE_HOST=

License Manager

No

Yes

Machine name of license manager.

SOFTWARE_CLASS=

Viewer

Yes

Yes

Installs ArcGIS for Desktop as ArcView.

Editor

Installs ArcGIS for Desktop as ArcEditor.

Professional

Installs ArcGIS for Desktop as ArcInfo.

SEAT_PREFERENCE=

Fixed

Yes

Yes

Installs your ArcGIS software class as a Single Use seat.

Float

Yes

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 this value is not specified, the default location is C:\Python27.

DESKTOP_CONFIG

TRUE

Yes

No

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

RENEWAL_CHECK

TRUE

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

BLOCKADDINS

#0

Yes

No

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

#1

Yes

No

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

#2

Yes

No

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

#3

Yes

No

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

#4

Yes

No

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

ENABLEEUEI

0

Yes

No (0 is default)

Do not enable participation in the Esri User Experience Improvement.

1

Yes

No

Enable participation in the Esri User Experience Improvement.

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.

Msiexec /i <setup location>\setup.msi ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float 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. INSTALLDIR1=<installation directory> can be used to specify an installation location for Python. The default location for this feature is C:\Python26.

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

Msiexec /i \\machinename\ArcGIS\setup.msi INSTALLDIR=C:\ArcGIS ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float /qb
NoteNote:

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

Refer to the Microsoft command line options information for full details: 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:

Msiexec /I <setup location>\setup.msi ADDLOCAL=ALL ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Float /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.

For example:

Msiexec /I <setup location>\setup.msi INSTALLDIR=C:\ArcGIS ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Float /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:

Msiexec /I <setup location>\setup.msi /qb ADDLOCAL=<feature1>,<feature2>,.... ESRI_LICENSE_HOST=GIS SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float /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 for Desktop silently

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

msiexec /x <{product code}> /qb

For example: To uninstall ArcGIS for Desktop 10.1 silently, use the following command line:

msiexec.exe /x {6C8365F4-1102-4064-B696-68842D20B933} /qb

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

10/8/2012