Hi,
I'm trying to silently install ArcGIS Pro on my computer, prepping to install on 100+ remote computers.
Could someone by chance tell me where I'm going wrong in my code? If I run it in powershell alone, it doesn't install and immediately says the file path to the authorization doesn't exist, which is obvious because ArcGIS didn't install. If I run it through a batch file, it takes the amount of time it should to install, but it doesn't install and it says that it can't find the authorization file path... I've probably spent 3-4 hours on google and on here looking through and trying different methods and I can't get it to work. This is the closest I've gotten to it working, I think:
Powershell Code:
Start-Process -FilePath C:\Windows\System32\msiexec.exe -ArgumentList '/a "<filepath>\ArcGISPro.msi" /qn ALLUSERS=1 ENABLEEUEI=0 SOFTWARE_CLASS=Professional AUTHORIZATION_TYPE=SINGLE_USE ArcGIS_Connection=FALSE' -Wait
Start-Process -FilePath C:\Progra~1\ArcGIS\Pro\bin\SoftwareAuthorizationPro.exe -ArgumentList '/LIF "<filepath>\ArcGISProAdvanced_Singleuse_1008814.eslf" /s /ver 10.6 /password <password>' -Wait
Batch File Code:
@echo off
powershell.exe -command <filepath>.ps1
PAUSE
I have the batch file because of the execution policy restrictions at work.
Any help would be greatly appreciated. I've spent about 8 hours troubleshooting this.