Installing ArcGIS Spatial Data Server for IIS silently

ArcGIS Spatial Data Server for IIS can be installed without a user interface by running the setup using Windows Installer command line parameters.

Requirements

Installation command line parameters

The following are the command line parameters to be used when executing the ArcGIS Spatial Data Server for IIS MSI directly. Use this command to change the installation location of ArcGIS Spatial Data Server for IIS.

For example:

<path to ArcGIS Spatial Data Server for IIS setup download>\setup.exe /qb INSTALLDIR=C:\NewSDSDir

The Cross-domain Policy Files feature is not installed by default. To install the feature, you must add an additional parameter to your installation command line. The command line parameter below installs the Cross-domain Policy Files feature silently.

For example:

<path to ArcGIS Spatial Data Server for IIS setup download>\setup.exe /qb ADDLOCAL=ALL INSTALLDIR=C:\NewSDSDir

If the ADDLOCAL command line parameter is not invoked, the Cross-domain Policy Files feature is not installed. The ADDLOCAL command line parameter is case sensitive.

Command line parameters for specifying the website and name for the ArcGIS Spatial Data Service

The following command line parameters are used for configuring IIS. If these command line parameters are not invoked during a silent installation, the ArcGIS Spatial Data Service web application is created under the default website with the default name of arcgis.

The WEBSITE_ID parameter is used to specify the website where the ArcGIS Spatial Data Service will be created. The value for WEBSITE_ID is a number specific to each website on your server and assigned by IIS. The IDs for the websites on your server can be found in IIS Manager. The Default Web Site has a website ID of 1. This command line parameter is optional. By default, the WEBSITE_ID parameter is set to the Default Web Site (even if multiple websites exist). The parameter WEBSITE_ID is case sensitive.

This command line parameter is optional. By default, the VDIRNAME property is set to arcgis. If you do not invoke the VDIRNAME parameter in your command line, the ArcGIS Spatial Data Service will be created as arcgis. The VDIRNAME parameter is case sensitive. The instance name cannot contain spaces.

For example:

<path to ArcGIS Spatial Data Server for IIS setup download>\setup.exe  /qb ADDLOCAL=ALL InstallDir=C:\NewSDSDirectory VDIRNAME=SDS_External WEBSITE_ID=4059640

Uninstalling ArcGIS Spatial Data Server for IIS silently

Run this command from the command line:

msiexec /x {FC9E9F14-FCE2-42AD-A068-B6D8CDA65ED5} /qb
8/21/2012