This commit is contained in:
2021-09-12 13:56:16 -04:00
parent 01d65a5274
commit 746111a54c
5 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ If ( $INSTALL ) {
## Install the agent
LogMsg "Installing Atera agent"
Try { Start-Process "msiexec.exe" -ArgumentList "/i ""${AGENT_INSTALLER}"" /qn /norestart" -Wait }
#Try { Start-Process "msiexec.exe" -ArgumentList "/i ""${AGENT_INSTALLER}"" /qn /norestart" -Wait }
Try { Start-Process "msiexec.exe" -ArgumentList "/i ""${AGENT_INSTALLER}"" /qn /norestart INTEGRATORLOGIN=${INTEGRATOR_ID} COMPANYID=${CUSTOMER_ID}" -Wait }
Catch { LogErr $_.Exception.Message }
## Delete the agent installer