Installing ArcGIS for Server silently
ArcGIS for Server can be installed without a user interface by running the setup using Windows Installer command line parameters.
Installing SP1? For more information, see About ArcGIS 10.1 SP1 for Server.
Requirements
- ArcGIS for Server requires Microsoft Core XML Services (MSXML) 6. For more information, see System requirements.
- The .NET Extension Support feature requires Microsoft .NET 3.5 Service Pack 1 (SP1). If Microsoft .NET SP1 is not found, the .NET Extension Support feature will not be available for installation. For more information, see System requirements.
- All system requirements must be met before installing ArcGIS for Server. For more information, see System requirements .
Installation location command line parameters
The following are the windows installer command line parameters to be used when installing ArcGIS for Server silently. Use these commands to change the installation location of ArcGIS for Server or the installation location of Python
INSTALLDIR=<installation location>
This property allows you to specify the installation location of ArcGIS for Server from the command line. If you do not set this property, the default installation location of C:\Program Files\ArcGIS\Server\ is used.
INSTALLDIR1=<installation location for Python>
This property allows you to specify the installation location of Python from the command line. If you do not set this property, the default installation location of C:\Python27 is used.
For example:
<path to the ArcGIS for Server setup download>\setup.exe /qb INSTALLDIR=C:\NewServerDir INSTALLDIR1=C:\NewPythonDir
Configuring the ArcGIS Server account using command line parameters
The ArcGIS Server account must be configured when ArcGIS for Server is installed silently. For production systems, it is recommended that you designate a preexisting account that resides in your domain or Active Directory and follows your organization's security policy. If command line parameters are not used to configure the ArcGIS Server account during silent installations, the account will be set to the Local System account. This is primarily for the convenience of quickly installing ArcGIS Server.
The ArcGIS Server account can be changed at a later time by running the Configure ArcGIS Server Account utility. The utility is available at Start > ArcGIS > ArcGIS 10.1 for Server > Configure ArcGIS Server Account. When prompted, enter the name and password for the account that will be used by ArcGIS for Server. The option is available to save a configuration file with this information to speed up the configuration process on other ArcGIS for Server machines and reduce the chance of inadvertently typing a wrong name or password. While the account password is encrypted, be sure to store the configuration file in a secure location.
Use the command line parameters below to configure the ArcGIS Server account.
Passing ArcGIS Server account credentials directly
If the ArcGIS Server account is not defined during a silent (/qb) installation, or the credentials are not valid, the ArcGIS for Server setup displays a warning message during installation. The message can be closed by clicking OK. Under these circumstances, the ArcGIS Server account is set to the Local System account.
USER_NAME=<operating system account>
The account can be a domain account or a local account. If you are using a domain account, it must already exist. If you are using a local account, the account will be created if it does not already exist. If the account is not valid, a message box will appear during installation indicating the account and/or password is invalid.
PASSWORD=<account password>
Password for the account specified for the USER_NAME parameter. If the password is not valid, a message box will appear during installation indicating the account and/or password is invalid.
For example:
Using a domain account
<path to the ArcGIS for Server setup download>\setup.exe /qb USER_NAME=mydomain\mydomainaccount PASSWORD=my.password
Using a new or existing local account
<path to the ArcGIS for Server setup download>\setup.exe /qb USER_NAME=myaccount PASSWORD=my.password
Command line parameters are case sensitive. If you are having trouble getting your command line installation working, confirm the case matches the properties as shown in the examples.
Importing ArcGIS Server account credentials using a server configuration file
The two command line parameters below must be used together to import ArcGIS Server account credentials using a server configuration file.
ACCOUNT=UseConfigFile
Use the ACCOUNT command line parameter exactly as shown above. There are no other valid values for this property.
CONFIGPATH=<full path and name of server configuration file>
Used in conjunction with ACCOUNT=UseConfigFile, this property allows you to specify the server configuration file that will be used to configure the ArcGIS Server account. Server configuration files are created by exporting a server configuration file when installing ArcGIS for Server (previous installations or from other machines). For more information, see The ArcGIS Server account.
For example:
<path to the ArcGIS for Server setup download>\setup.exe /qb ACCOUNT=UseConfigFile CONFIGPATH=\\networkmachine\serverconfigs\standardaccount.xml
Command line parameters are case sensitive. If you are having trouble getting your command line installation working, confirm the case matches the properties as shown in the examples.
Exporting ArcGIS Server account credentials to a server configuration file
When exporting a server configuration file to a network share, the Local System account on the machine where ArcGIS for Server is being installed must have write permissions to the network share. For example, if you're installing ArcGIS for Server on a machine named Quick, the Local System account on Quick must have write permission to the network share. If the permissions are not set, the server configuration file may not be exported successfully. If you are unsure how to correctly set permissions for the network share, contact your system administrator or export the server configuration file locally then copy it to the network share.
The two command line parameters below must be used together to export ArcGIS Server account credentials to a server configuration file.
EXPORTCONFIG=Yes
Use this property to export the account information entered with the USER_NAME and PASSWORD command line parameters. The account information will be stored in an encrypted XML file, known as a server configuration file. This property is set to No by default.
CONFIGPATH=<full path and name of server configuration file>
Used in conjunction with EXPORTCONFIG=Yes, this property allows you to define the name of the server configuration file and the location where it will be stored. The file name must end with .xml and the specified folder must already exist. If the file does not have an .xml extension and the specified directory does not already exist, the server configuration file creation may not be successful.
For example:
<path to the ArcGIS for Server setup download>\setup.exe /qb EXPORTCONFIG=Yes CONFIGPATH=\\networkmachine\serverconfigs\standardaccount.xml
Command line parameters are case sensitive. If you are having trouble getting your command line installation working, confirm the case matches the properties as shown in the examples.
Authorizing ArcGIS for Server silently
Run the command below to authorize ArcGIS for Server silently, editing the command line where necessary to reflect the actual authorization file location.
<System disk drive>\Program files\Common files\ArcGIS\bin\SoftwareAuthorization.exe /S /Ver 10.1 /LIF <path to .prvc authorization file>authorizationfile.prvc
The .prvc authorization file must have all user information completed before running the command to authorize ArcGIS for Server silently. Open the authorization file in a text editor and complete the User Information section.
Uninstalling ArcGIS for Server silently
Run this command from the command line:
msiexec /x {CCE5C609-EF54-49F3-A779-3D1BC82D95A4} /qb