install at machine level

This commit is contained in:
2022-09-07 10:07:09 -04:00
parent 6f6980eed6
commit fde87cbbc8
+1 -1
View File
@@ -6,7 +6,7 @@ $INSTALLER = Download-File -URL $URL
# Install the app
LogMsg "Installing latest version of Simple In/Out from ""${INSTALLER}"""
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart" -Wait }
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart ALLUSERS=1" -Wait }
Catch { LogErr $_.Exception.Message }
# Delete the installer