add install params
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ $MSIURL = 'https://enscape-installer.chaosgroup.com/installer.enscape.io/Enscape
|
|||||||
## Run the installer
|
## Run the installer
|
||||||
$INSTALLER = Download-File -URL $MSIURL
|
$INSTALLER = Download-File -URL $MSIURL
|
||||||
LogMsg "Installing Enscape from ""${INSTALLER}"""
|
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 }
|
Catch { LogErr $_.Exception.Message }
|
||||||
|
|
||||||
## Delete installer
|
## Delete installer
|
||||||
|
|||||||
Reference in New Issue
Block a user