Installing ArcGIS Server for the Microsoft .NET Framework silently

ArcGIS Server for the Microsoft .NET Framework can be installed without a user interface by running the setup using the Windows Installer command line parameters.

 

Requirements

 

 

 

 

Notes on installing ArcGIS 9.3 products

The ArcGIS 9.3 products, ArcGIS Engine Runtime, ArcGIS Desktop, ArcReader standalone, and ArcGIS Server will install to the same installation directory. The first ArcGIS 9.3 product installed will determine the installation location for all subsequent ArcGIS 9.3 products. For example, if ArcGIS Desktop is installed to C:\Desktop, the installation location for ArcGIS 9.3 will be C:\Desktop\ArcGIS. If you install ArcGIS Server for the Microsoft .NET Framework next, you will not be provided with the opportunity to browse to an installation location. The ArcGIS Desktop installation has predetermined the installation location for all ArcGIS 9.3 products. Therefore, in this example, ArcGIS Server for the Microsoft .NET Framework will also be installed to C:\Desktop\ArcGIS. If you run out of disk space while installing an ArcGIS 9.3 product, you will need to uninstall all ArcGIS 9.3 products (listed above) and reinstall them to a location where more disk space is available. ArcGIS 9.3 products (excluding ArcSDE, ArcIMS and ArcInfo Workstation) cannot be installed to different locations. NOTE: If you have ArcIMS ArcMap Server 9.3 already installed, ArcGIS 9.3 products will default to the ArcIMS installation location.

 

Installation location command line parameters

The following are the command line parameters to be used when executing the ArcGIS Server MSI directly. Use these with the MSI direct commands to change the installation location of ArcGIS Server, or the installation location of Python.

This property allows you to specify the installation location of ArcGIS Server at the command line. If you do not set this property the default installation location of C:\Program Files\ArcGIS is used. If you have an ArcGIS 9.3 product already on your machine, regardless of what directory you specify using the InstallDir parameter, the setup will install to the location predetermined by the first ArcGIS 9.3 product installed. See Notes on installing ArcGIS 9.3 products above for more information.

This property allows you to specify the installation location of Python at the command line. If you do not set this property the default installation location of C:\Python25.

 

 

How to perform a typical installation of ArcGIS Server for the Microsoft .NET Framework silently

Run this command from the command line:

msiexec /i <setup location>\setup.msi /qb

 

Additional command line parameters available:

InstallDir=<installation directory if you do not want to use the default of C:\Program Files\Arcgis>

Tip

    • If you have an ArcGIS 9.3 product already on your machine, regardless of what directory you specify using the InstallDir parameter, the setup will install to the location predetermined by the first ArcGIS 9.3 product installed. See Notes on installing ArcGIS 9.3 products above for more information.

For example:

msiexec /i \\machinename\arcgis_server\setup.msi /qb InstallDir=C:\ArcGIS_Server

 

 

How to perform a complete installation of ArcGIS Server for the Microsoft .NET Framework silently

Run this command from the command line:

msiexec /i <setup location>\setup.msi /qb ADDLOCAL=ALL

 

Additional command line parameters available:

InstallDir=<installation directory if you do not want to use the default of C:\Program Files\Arcgis>

 

For example:

msiexec /i \\machinename\arcgis_server\setup.msi /qb ADDLOCAL=ALL InstallDir=C:\ArcGIS_Server

 

 

How to perform a custom installation of ArcGIS Server for the Microsoft .NET Framework silently

Run this command from the command line:

msiexec /i <setup location>\setup.msi /qb ADDLOCAL=<feature1>,<feature2>,....

 

Specify installation features:

 

ADDLOCAL feature

Installation feature

Description

Server_object_container

Server Object Container

The Server Object Container (SOC) can be installed on one or more Windows machines. These container machines host the server objects that are managed by the SOM.

Server_object_manager

Server Object Manager

The Server Object Manager (SOM) is a Windows service running on a single machine. The SOM manages the set of server objects that are distributed across one or more container machines.

Python

 

Python

 

This feature will install Python for some Geoprocessing tools.

Web_Applications

 

Web Applications

 

The Web Applications feature adds to your web server the ability to create and manage Web Mapping Applications, ArcGIS Explorer Maps and GIS Web Services.

Web_ADF

Web Application Developer Framework

The Web Application Developer Framework facilitates the development of ArcGIS Server applications. It includes Web Controls, Web templates, samples, sample data, documentation, and help.

Runtime

 

Runtime

Web Controls and associated classes that can be used to create ArcGIS Server applications.

Software_Developer_Kit

Software Developer Kit

The components that assist a developer in creating applications with the Web Application Developer Framework.

Visual Studio 2005 Integration

MOBILE_VSINT2005

Visual Studio 2005 Integration

Mobile ADF Integration with Visual Studio 2005 requires the Microsoft Toolbox Control Installer (TCI). TCI is installed automatically by Setup.exe. Refer to Help for more information.

MOBILE_TCI

Toolbox Controls

This feature integrates ArcGIS Mobile controls with the Visual Studio Toolbox. If the feature is selected, ArcGIS Mobile controls will be available in Visual Studio.

VS2005

Visual Studio

This feature integrates Web Controls, Templates and Developer Help with Visual Studio.

VB2005

Visual Basic Express

This feature integrates ArcObjects commands and Developer Help with Visual Basic Express.

VCS2005

Visual C# Express

This feature integrates ArcObjects commands and Developer Help with Visual C# Express.

WebX2005

Visual Web Developer Express

This feature integrates Web Controls, a Web Mapping Application Template and Developer Help with Visual Web Developer Express.

Visual Studio 2008 Integration

MOBILE_VSINT2008

Visual Studio 2008 Integration

This feature integrates ArcGIS Mobile Controls with Visual Studio 2008.

VS2008

Visual Studio

This feature integrates Web Controls, Templates and Developer Help with Visual Studio.

VB2008

Visual Basic Express

This feature integrates ArcObjects commands and Developer Help with Visual Basic Express.

VCS2008

Visual C# Express

This feature integrates Web Controls, Templates and Developer Help with Visual C# Express.

WebX2008

Visual Web Developer Express

This feature integrates Web Controls, a Web Mapping Application Template and Developer Help with Visual Web Developer Express.

 

 

Additional command line parameters available:

InstallDir=<installation directory if you do not want to use the default of C:\Program Files\Arcgis>

 

For example:

msiexec /i \\machinename\arcgis_server\setup.msi /qb ADDLOCAL=Server_object_manager,Server_object_container InstallDir=C:\ArcGIS_Server

 

 

Tip

    • All relevant files will also be installed with the specified feature

    • Names of features are case sensitive

    • If you have an ArcGIS 9.3 product already on your machine, regardless of what directory you specify using the installDir parameter, the setup will install to the location predetermined by the first ArcGIS 9.3 product installed. See Notes on installing ArcGIS 9.3 products above for more information.

 

 

 

Additional command line properties:

The following are additional command line properties for a silent install and uninstall of ArcGIS Server for the Microsoft .NET Framework. These properties control the restart message and restart of the IIS Web server, and the registering of ASP.NET 2.0. The restart of IIS is required by the Web ADF Runtime, Visual Studio Integration and Web Service Publisher features.

This property when set to TRUE automatically restarts IIS. By default this property is set to FALSE. FALSE specifies that IIS is not automatically started for you.

In order for ESRI_RESTART_IIS=FALSE to work, ESRI_ASPNET_REGISTER must be set to FALSE. Registering ASP.NET automatically restarts IIS, regardless of the value of ESRI_RESTART_IIS.

This property when set to TRUE will automatically register ASP.NET 2.0 with Microsoft IIS. By default this property is set to TRUE. See Verify system requirements for more information.

The field <Instance name> can be replaced by the name of the ArcGIS Server Manager instance you want to create. If this command line parameter is not specified, the default instance name is ArcGIS. The instance name cannot contain spaces.

This property configures the port number used by the ArcGIS Server Manager instance. By default this property is set to a port already in use by your Web Server (80 in most cases). The port entered must be a valid port number.  If an invalid port number is entered, the installation process will fail.  See Non-default IIS configurations for more information.

 

For example:

msiexec /i \\machinename\arcgis_server\setup.msi /qb ADDLOCAL=ALL InstallDir=C:\ArcGIS_Server ESRI_WEBAPPS_INSTANCE=Test_instance ESRI_WEBAPPS_PORT=81

 

 

How to perform an uninstall of ArcGIS Server for the Microsoft .NET Framework silently

Run this command from the command line:

msiexec /x {9ACB5D84-EC39-48E8-9970-4812B6F6738E} /qb

 

 

Additional command line properties:

The following are additional command line properties for a silent install and uninstall of ArcGIS Server for the Microsoft .NET Framework.

This property when set to TRUE automatically restarts IIS. By default this property is set to FALSE. FALSE specifies that IIS is not automatically started for you.