I know that the repository has ArcGIS Desktop however from my understanding there is another separate program called ArcGIS Pro.
Does anybody already have this built out in their local repository that is willing to share?
I know that the repository has ArcGIS Desktop however from my understanding there is another separate program called ArcGIS Pro.
Does anybody already have this built out in their local repository that is willing to share?
I started to take what existed for the ArcGIS Desktop and replace the arguments that were listed for ArcGIS Pro and got this to successfully install.
# $Arguments = @"
# ACCEPTEULA=YES ESRI_LICENSE_HOST=$ESRI_LICENSE_HOST SOFTWARE_CLASS=$SOFTWARE_CLASS SEAT_PREFERENCE=$SEAT_PREFERENCE $(if($INSTALLDIR){INSTALLDIR=$INSTALLDIR}) $(if($INSTALLDIR1){INSTALLDIR1=$INSTALLDIR1}) DESKTOP_CONFIG=$DESKTOP_CONFIG BLOCKADDINS=$BLOCKADDINS ENABLEEUEI=$ENABLEEUEI MODIFYFLEXDACL=$MODIFYFLEXDACL /qn
# "@
# $Process = Start-Process -Wait $InstallerFile -ArgumentList $Arguments -Passthru
# Write-Host "ExitCode: $($Process.ExitCode)"
# https://pro.arcgis.com/en/pro-app/latest/get-started/arcgis-pro-installation-administration.htm
$Arguments = "ACCEPTEULA=YES ALLUSERS=$ALLUSERS ESRI_LICENSE_HOST=$ESRI_LICENSE_HOST SOFTWARE_CLASS=$SOFTWARE_CLASS"
# Conditionally append the optional parameters if they are set
if ($INSTALLDIR) { $Arguments += " INSTALLDIR=$INSTALLDIR" }
if ($BLOCKADDINS) { $Arguments += " BLOCKADDINS=$BLOCKADDINS" }
#if ($ADDLOCAL) { $Arguments += " BLOCKADDINS=$BLOCKADDINS" }
#if ($CHECKFORUPDATESATSTARTUP) { $Aruments += "CHECKFORUPDATESATSTARTUP=$CHECKFORUPDATESATSTARTUP"} //This is PER MACHINE INSTALLS ONLY
#if ($AUTHORIZATION_TYPE) { $Aruments += "AUTHORIZATION_TYPE=$AUTHORIZATION_TYPE"}
#if ($LOCK_AUTH_SETTINGS) { $Aruments += "LOCK_AUTH_SETTINGS=$LOCK_AUTH_SETTINGS"}
#if ($ARCGIS_CONNECTION) { $Aruments += "ARCGIS_CONNECTION=$ARCGIS_CONNECTION"}
#if ($PORTAL_LIST) { $Aruments += "PORTAL_LIST=$PORTAL_LIST"}
#if ($LICENSE_URL) { $Aruments += "LICENSE_URL=$LICENSE_URL"}
# Append the rest of the static arguments
$Arguments += " ENABLEEUEI=$ENABLEEUEI /qn"
$Process = Start-Process -FilePath $InstallerFile -ArgumentList $Arguments -Wait -PassThru
Write-Host "ExitCode: $($Process.ExitCode)"