Permalink
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up Find file Copy path
Cannot retrieve contributors at this time
Arc Hydro: GIS for Water Resources Why Arc Hydro? Water resource managers use geographic information system (GIS) technology to visualize and analyze hydrologic data for tasks such as assessing water quality, estimating water availability, planning ˜ ood prevention, understanding the natural environment, and managing water resources.
REM This batch file automates the process of installing ESRI's ArcGIS Desktop 10.4.1 |
REM The file was created by Stacey D. Maples, Geospatial Manager at the Stanford Geospatial Center, Stanford University |
REM Question & Comments should be directed to [email protected] |
REM edited on 09/022/2016 for Stanford Faculty, Student & Staff Non-Managed Workstation and Personal Installations |
set__COMPAT_LAYER=RunAsInvoker |
echooff |
REM Installation of prerequisites |
REM Determine if on 64-bit operating system |
IFnotEXIST'C:Program Files (x86)'GOTO 32BIT |
echo Installing the SQL Server Native Client on 64-bit Windows first... |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1SQLServer2012SP3NativeClient_64sqlncli.msi' IACCEPTSQLNCLILICENSETERMS=YES /norestart /passive /qb |
echo Installing MSXML6 64-bit... |
REM install MSXML6 |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1DesktopSetupFilesSupportMSXML664-bitmsxml6_x64.msi' /norestart /passive /qb |
GOTO SQLEND |
:32BIT |
echo Installing the SQL Server Native Client on 32-bit Windows first... |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1SQLServer2012SP3NativeClient_32sqlncli.msi' IACCEPTSQLNCLILICENSETERMS=YES /norestart /passive /qb |
echo Installing MSXML6... |
REM install MSXML6 |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1DesktopSetupFilesSupportMSXML632-bitmsxml6.msi' /norestart /passive /qb |
:SQLEND |
REM Installation of ArcGIS Software |
echo Installing ArcGIS Desktop 10.4.1... this could take a while... you should go have dinner, or something... |
REM Install ArcGIS Desktop 10.4.1 with options |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1DesktopSetupFilessetup.msi' DESKTOP_CONFIG=TRUE ADDLOCAL=ALL ESRI_LICENSE_HOST=27004@sul-gislm.stanford.edu INSTALLDIR1=C:Python27 SOFTWARE_CLASS=Professional SEAT_PREFERENCE=Float /norestart /passive /qb |
echo Installing VBA support for ArcGIS 10.4.1 |
REM Install VBA Support for ArcGIS 10.4.1 |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1VBACompatibilityVBAVBAOF11.msi' /norestart /passive /qb |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1VBACompatibilityVBA1033VBAOF11I.msi' /norestart /passive /qb |
echo Installing the Data Interoperability Extension (you should read up on this, it's pretty cool)... |
REM Install Data Interoperability Extension for ArcGIS 10.4.1 |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1DataInteropDesktopSetupFilessetup.msi' /norestart /passive /qb |
echo Installing ArcGIS for Desktop and ArcReader Runtime Error R6034 Patch |
C:WINDOWSsystem32msiexec.exe /p 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1PatchesArcGIS-1041-DT-RER-Patch.msp' /norestart /passive /qb |
REM Determine if on 64-bit operating system |
IFnotEXIST'C:Program Files (x86)'GOTO 64BITEND |
echo Installing the 64-bit Background Geoprocessing Extension... |
REM 64-bit Background Geoprocessing Extension |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1DesktopBackgroundGPSetupFilessetup.msi' /norestart /passive /qb |
echo Installing the 64-bit ArcHydro Extension... |
REM Installing the 64-bit ArcHydro Extension... |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1ArcHydroArcHydroTools_x64.msi' /norestart /passive /qb |
REM Patch Installation |
echo Installing 64-bit Patches |
REM ArcGIS 10.4.1 for (Desktop, Engine, Server) Geocoding General Maintenance Patch |
echo Installing ArcGIS 10.4.1 for (Desktop, Engine, Server) Geocoding General Maintenance Patch 64-bit |
C:WINDOWSsystem32msiexec.exe /p 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1PatchesArcGIS-1041-BGDT-GGM-Patch.msp' /norestart /passive /qb |
GOTO 32BITPatchesEnd |
:64BITEND |
echo Installing the 32-bit ArcHydro Extension... |
REM Installing the 32-bit ArcHydro Extension... |
C:WINDOWSsystem32msiexec.exe /I 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1ArcHydroArcHydroTools.msi' /norestart /passive /qb |
REM ArcGIS 10.4.1 for (Desktop, Engine, Server) Geocoding General Maintenance Patch |
echo Installing ArcGIS 10.4.1 for (Desktop, Engine, Server) Geocoding General Maintenance Patch |
C:WINDOWSsystem32msiexec.exe /p 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1PatchesArcGIS-1041-DT-GGM-Patch.msp' /norestart /passive /gb |
:32BITPatchesEnd |
REM install data & maps, ArcTutor and default settings registry entries |
echo Installing ArcGIS 10.4 Tutorial Materials that go with the tutorials in the Help System... |
rem Install ArcGIS 10.4 Tutorial Materials |
xcopy'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1ArcTutor''C:ArcTutor' /s /e /i |
echo Installing the Esri Data & Maps Dataset... this is about 4GB of data, so it might take a while... |
rem Copy ESRI Data & Maps to the C:EsriDataMaps104 Drive of the target machine |
xcopy'sul-gislabgeowaresEsriData_and_Maps_for_ArcGIS_10.4.1''C:EsriDataMaps104' /s /e /i |
REM Install Registry Entries for enabling all extensions and setting Relative Paths as the default |
REGEDIT.exe -S 'sul-gislabgeowaresEsriArcGIS_Desktop_10.4.1ArcGIS_10.4.1_RegistryEntries.reg' /norestart |
Copy lines Copy permalink