Installing Spectrum Spatial Analyst through Batch File
You can run Spectrum Spatial Analyst installer in silent mode by creating a batch file.
To create a batch script, use the following parameters:
::*******************************************
:: ACCESS_GROUP=1 => Guest&Secured
:: ACCESS_GROUP=2 => SecuredOnly
::********************************************
SET varACCESS_GROUP=1
SET varJAVA_HOME_PATH=C:\Program Files\Java\jdk1.8.0_162
SET varSPECTRUM_ENDPOINT=http://152.144.219.145:8080
SET varSPECTRUM_USERNAME=admin
SET varSPECTRUM_PASSWORD=admin
SET varPORT_LOCATE=8030
SET varPORT_CONNECT=8010
SET varMEMORY_LOCATE=1024
SET varMEMORY_CONNECT=1024
"C:\Analyst\setup.exe" /S /V"/qr ACCESS_GROUP=%varACCESS_GROUP% JAVA_HOME_PATH=%varJAVA_HOME_PATH% SPECTRUM_ENDPOINT=%varSPECTRUM_ENDPOINT% SPECTRUM_USERNAME=%varSPECTRUM_USERNAME% SPECTRUM_PASSWORD=%varSPECTRUM_PASSWORD% PORT_LOCATE=%varPORT_LOCATE% PORT_CONNECT=%varPORT_CONNECT% MEMORY_LOCATE=%varMEMORY_LOCATE% MEMORY_CONNECT=%varMEMORY_CONNECT%
Where,
Analyst
is the folder name where setup.exe
is
stored.Note: The above script is a real time example. Please DO NOT alter any of
the information except Group, Username, Password, Endpoint.