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
- Microsoft Internet Information Services (IIS) is required. If IIS is not found, the ArcGIS Spatial Data Server for IIS setup will not proceed. See System requirements for more information.
- Microsoft .NET Framework 3.5 Service Pack 1 (SP1) is required. If .NET Framework SP1 is not found, the ArcGIS Spatial Data Server for IIS setup will not proceed. See System requirements for more information.
- SQL Server System CLR Types (64-bit) is required. See System requirements for more information.
- All system requirements must be met before installing ArcGIS Spatial Data Server for IIS. See System requirements for more information.
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.
- INSTALLDIR=<installation location for ArcGIS Spatial Data Server for IIS>
This property allows you to specify the installation location of ArcGIS Spatial Data Server for IIS from the command line. If you do not set this property, the default installation location of C:\Program Files\ArcGIS\SDS10.1\IIS\ is used.
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.
- ADDLOCAL=ALL
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.
- WEBSITE_ID=<numeric value of website>
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.
- VDIRNAME=<name of ArcGIS Spatial Data Service web application>
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