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:
Parameter
Required
Description
INSTALLDIR
No
ArcGIS Engine Runtime 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:\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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp

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:
  • SHORTCUTS = YES
    This option installs the shortcuts.
  • SHORTCUTS = NO
    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:
  • HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGIS Engine Runtime 
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:
Product
Globally unique identifier (GUID)
ArcGIS Desktop
{40F8FD5F-4701-48D6-A8FC-1F188007DF38}
ArcGIS Desktop Developer Kit
{3E166714-D5E1-4215-8D68-58452EAA46F1}
ArcGIS Tutorial Data
{E0CA85B5-113A-4E76-A018-6D7ECE65767D}
ArcInfo Workstation
{0C35348E-DA25-44E2-AF7A-78BF9C12C5EE}
ArcGIS Engine Runtime
{7A2BB4EB-126F-4958-A47B-1F5340600DA1}
ArcGIS Engine Developer Kit
{8ED91E21-5237-4762-A42D-175E71B8165E}
ArcReader Stand-Alone
{C675A5D9-E38F-42F0-B862-C46C3CC93D5F}
ArcGIS Server
{529CC8E9-5F7C-46AB-87CC-480A44F1A718}
ArcGIS Server .NET ADF
{885466F5-21D6-4927-8882-E9405BBFFB98}
ArcGIS Server Java ADF
{957C3C56-6283-4E45-A873-CE7DA4BC5CF4}
ArcIMS 
{982EAE44-0024-4B21-B90A-13DDF7F541A7}


See Also:

Installing ArcGIS Engine Runtime on Windows




Additional Requirements
  • ArcGIS Engine Runtime CD or DVD