<commit_before>REM =====================================================================
REM Install ArcGIS Server and Authorize Software
REM =====================================================================
set ops_ChkErrLevelFile=%~dp0..\..\SupportFiles\BatchFiles\CheckErrorLevel.bat
SET FQDN=%ops_FQDN%

echo.
echo %sectionBreak%
echo Install ArcGIS Server

REM ---------------------------------------------------------------------
REM Install ArcGIS Server
REM ---------------------------------------------------------------------
echo.
echo --Installing ArcGIS Server...
echo.
set execute=%ops_softwareRoot%\ArcGISServer\setup.exe /qb ^
USER_NAME=%ops_agsServiceAccount% PASSWORD=%ops_passWord% INSTALLDIR1=C:\Python27

echo %execute%
echo.
%execute%
Call %ops_ChkErrLevelFile% %ERRORLEVEL%

REM ---------------------------------------------------------------------
REM "Install" PostgreSQL client libraries to ArcGIS Server bin folder
REM ---------------------------------------------------------------------
echo.
echo --Copying PostgreSQL client libraries to ArcGIS Server bin folder...
echo.
set execute=START /WAIT robocopy %ops_softwareRoot%\Database\PostgreSQL_9.2.2\Windows\64bit\ ^
"C:\Program Files\ArcGIS\Server\bin" *.*

echo %execute%
echo.
%execute%
Call %ops_ChkErrLevelFile% %ERRORLEVEL% ROBOCOPY

REM ---------------------------------------------------------------------
REM "Install" geometry library to PostgreSQL lib folder
REM ---------------------------------------------------------------------
echo.
echo --Copying geometry library to PostgreSQL lib folder...
echo.
set execute=START /WAIT robocopy "C:\Program Files\ArcGIS\Server\DatabaseSupport\PostgreSQL\9.2\Windows64" ^
%ops_postgresqlInstallDIR%\lib"

echo %execute%
echo.
%execute%
Call %ops_ChkErrLevelFile% %ERRORLEVEL% ROBOCOPY

REM ---------------------------------------------------------------------
REM Authorize ArcGIS Server Software
REM ---------------------------------------------------------------------
echo.
echo --Authorizing ArcGIS Server...
echo.
echo   Will use the following file to authorize. If no file found, 
echo   Software Authorization wizard will walk user through process:<commit_msg>Resolved #281<commit_after>REM =====================================================================
REM Install ArcGIS Server and Authorize Software
REM =====================================================================
set ops_ChkErrLevelFile=%~dp0..\..\SupportFiles\BatchFiles\CheckErrorLevel.bat
SET FQDN=%ops_FQDN%

echo.
echo %sectionBreak%
echo Install ArcGIS Server

REM ---------------------------------------------------------------------
REM Install ArcGIS Server
REM ---------------------------------------------------------------------
echo.
echo --Installing ArcGIS Server...
echo.
set execute=%ops_softwareRoot%\ArcGISServer\setup.exe /qb ^
USER_NAME=%ops_agsServiceAccount% PASSWORD=%ops_passWord% INSTALLDIR1=C:\Python27

echo %execute%
echo.
%execute%
Call %ops_ChkErrLevelFile% %ERRORLEVEL%

REM ---------------------------------------------------------------------
REM "Install" PostgreSQL client libraries to ArcGIS Server bin folder
REM ---------------------------------------------------------------------
rem Commented out 08 Aug 2014; AGS 10.3 installer installs postgreSQL client
rem library files to allow AGS to connect to ArcGIS Data Store. This library
rem files are backward compatible.
rem
rem echo.
rem echo --Copying PostgreSQL client libraries to ArcGIS Server bin folder...
rem echo.
rem set execute=START /WAIT robocopy %ops_softwareRoot%\Database\PostgreSQL_9.2.2\Windows\64bit\ ^
rem "C:\Program Files\ArcGIS\Server\bin" *.*
rem 
rem echo %execute%
rem echo.
rem %execute%
rem Call %ops_ChkErrLevelFile% %ERRORLEVEL% ROBOCOPY

REM ---------------------------------------------------------------------
REM "Install" geometry library to PostgreSQL lib folder
REM ---------------------------------------------------------------------
echo.
echo --Copying geometry library to PostgreSQL lib folder...
echo.
set execute=START /WAIT robocopy "C:\Program Files\ArcGIS\Server\DatabaseSupport\PostgreSQL\9.2\Windows64" ^
%ops_postgresqlInstallDIR%\lib"

echo %execute%
echo.
%execute%
Call %ops_ChkErrLevelFile% %ERRORLEVEL% ROBOCOPY

REM ---------------------------------------------------------------------
REM Authorize ArcGIS Server Software
REM ---------------------------------------------------------------------
echo.
echo --Authorizing ArcGIS Server...
echo.
echo   Will use the following file to authorize. If no file found, 
echo   Software Authorization wizard will walk user through process:
{'fraction_non_alphanumeric': 0.3587588881706529, 'fraction_numerical': 0.008187890540831718, 'mean_word_length': 1.8150394178289873, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5990954', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1046, 'n_words': 348}