add install params

This commit is contained in:
2023-07-13 11:26:48 -04:00
parent fc0b916a38
commit 9bb5239e61
+1 -1
View File
@@ -4,7 +4,7 @@ $MSIURL = 'https://enscape-installer.chaosgroup.com/installer.enscape.io/Enscape
## Run the installer
$INSTALLER = Download-File -URL $MSIURL
LogMsg "Installing Enscape from ""${INSTALLER}"""
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart" -Wait -ErrorAction Stop }
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart ACCEPTEULA=1 ALLUSERS=1" -Wait -ErrorAction Stop }
Catch { LogErr $_.Exception.Message }
## Delete installer