Silently Install ArcGIS for Server
In the last couple of days I have been trying to get a few configurations of ArcGIS for Server set up on Virtual Machines (VM's). Along the way I have spectacularly broken quite a few and had to restart the process. After the second time installing I looked up the silent install documentation and wrote a short batch file to streamline the process.
At the top are a few variables for the installation. Please actually change the password to something halfway secure. At the very least, please change it. Also, you likely will need to change the name of the license file to match yours. Otherwise, I hope this makes your life easier!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Change these variables to be whatever you want the user name and password to be for the ArcGIS Server service to run as on this | |
REM server instance and the software version you are using | |
username=arcgis REM This will set up a local machine account. If you want to use a domain account, use the domain\user syntax. | |
password=Esri1234 REM Please change this to something even halfway secure. | |
license_file=Server_Ent_Adv* REM Change this to the name of your license file. | |
software_version=10.3 | |
REM Assuming this script is placed into the same directory as the installation files, this line will run the server install | |
%CD%\setup.exe /qb USER_NAME=%username% PASSWORD=%password% | |
REM Provided you placed the license file named Server_Ent_Adv* in the same directory as the server install files, this will license | |
REM the software. | |
"C:\Porgram Files\Common files\ArcGIS\bin\SoftwareAuthorization.exe" /S /Ver %software_version% /LIF %CD%\%license_file% | |
REM Open the default web browser to the server manager to set up a new ArcGIS Server site or join an existing ArcGIS Server site. | |
Start http://%COMPUTERNAME%:6080/arcgis/manager/ |