Installing ArcGIS Engine Runtime silently on Windows

In this topic

Installation requirements

ArcGIS Engine Runtime can be installed without a user interface (UI) by running the setup using Windows Installer command line parameters. The following are the requirements:
  • Windows Installer version 3.1 must be installed and running on your machine prior to running the ArcGIS Engine Runtime setup silently.
    • If required for installation, access the Windows Installer (instmsi3.exe) from the ArcGIS Engine Runtime Installation DVD/CD. 
  • All previous versions must be uninstalled before you proceed with the silent installation.   

ArcGIS Engine Runtime required command line parameters

The following are the command line switches to execute the ArcGIS Engine Runtime MSI directly. Use these with the MSI direct commands as required:
ArcGIS Engine Runtime installation location—if not specified, the installation location is %System
Drive%\Program Files\ArcGIS.
Python installation location—if this feature is required and this value is not specified,
the default location is C:\Python24.

Perform a typical installation of ArcGIS Engine Runtime without user interaction

Run the following command from the command line to install ArcGIS Engine Runtime. This example will also install Python to D:\python:
  • msiexec /I <setup location>\setup.msi INSTALLDIR1=D:\python /qb 

Additional available command line parameters

  • 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:\Python24, for example,  
    msiexec /I <setup location>\setup.msi /qb
  • /qb provides basic UI of progress status and error handling
  • /qn provides no UI 
Refer to the Microsoft command line options for more information:

Perform a complete installation of ArcGIS Engine Runtime silently

Run the following command from the command line to install a complete ArcGIS Engine Runtime:
  • msiexec /I <setup location>\setup.msi ADDLOCAL=ALL /qb 

Additional available command line parameters

  • 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 /qb.
For an administrative setup, use the /a command line parameter rather than /I. To specify the installation location for a silent administrative installation, the command line property is TARGETDIR rather than INSTALLDIR.

Perform a custom installation of ArcGIS Engine Runtime silently

Run this command from the command line to perform a custom ArcGIS Engine Runtime installation:
  • msiexec /I <setup location>\setup.msi /qb ADDLOCAL=<feature1>,<feature2>, …  

ArcGIS Engine Runtime installation features

Specify the following ArcGIS Engine Runtime installation features:
  • DotNetRuntime
  • JavaRuntime
  • Python
  • All dependencies and relevant files will also be installed with the specified feature.
  • Feature names are case sensitive.

ArcGIS Engine Runtime menu shortcuts

By default, a complete installation of ArcGIS Engine Runtime 9.2 or later creates the following shortcuts on the ArcGIS menu (accessed from Start, All Programs or from Start, Programs):
  • Authorization Summary
  • Software Authorization 
See the following screen shot:
The following command line parameters provide options to display or not display the shortcuts on the ArcGIS menu:
    This option installs the shortcuts.
    This option will not install the shortcuts. 
In the following example, ArcGIS Engine Runtime is installed silently without shortcuts:
  • msiexec /I <location of setup>\setup.msi /qb SHORTCUTS=NO

Install an ArcGIS Engine Runtime service pack

If your application also requires an ArcGIS Engine service pack, you can either instruct your user to download the service pack from the ESRI Support Center or you can provide the service pack (.msp file) on the ArcGIS Engine Runtime CD that you provide.
To check whether the required ArcGIS Engine Runtime service pack has been installed to the target machine, use the Service Pack finder or check for the SPNumber registry key under the following registry hive:
The SPNumber value reflects the service pack number installed. Install the service pack using the following command line:
  • msiexec.exe /p <location of .msp file>\ArcGIS<Product>.msp REINSTALL=ALL /qb 

Perform an uninstallation of ArcGIS Engine Runtime silently

To uninstall a product silently, use the following Windows Installer command:
  • msiexec /x <{product code}> /qb
    For example, to uninstall ArcGIS Engine Runtime 9.2 silently, use the following command line: msiexec.exe /x {9B139B36-F1FF-4DB8-89F9-4DA3D5C12BE8}/qb

Product codes for ArcGIS 9.1 products

Any ArcGIS product can be uninstalled silently using the Windows Installer uninstall command, for example:
  • msiexec.exe /X {PRODUCT GUID} /qb
The following information can be helpful to script the uninstallation of existing ArcGIS 9.1 products:
Globally unique identifier (GUID)
ArcGIS Desktop
ArcGIS Desktop Developer Kit
ArcGIS Tutorial Data
ArcInfo Workstation
ArcGIS Engine Runtime
ArcGIS Engine Developer Kit
ArcReader Stand-Alone
ArcGIS Server
ArcGIS Server .NET ADF
ArcGIS Server Java ADF

See Also:

Installing ArcGIS Engine Runtime on Windows

Additional Requirements
  • ArcGIS Engine Runtime CD or DVD