fix(nsis): per-machine installer not requesting elevation when run by non-admin users (#13786)

This commit is contained in:
Catalin Andrei Cacuci
2025-07-09 13:42:07 +02:00
committed by GitHub
parent cfc5bb8196
commit f94af90359
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
tauri-bundler: patch:bug
---
Fix NSIS per-machine installer not requesting elevation when run by non-admin users.

View File

@@ -95,7 +95,7 @@ VIAddVersionKey "ProductVersion" "${VERSION}"
; Handle install mode, `perUser`, `perMachine` or `both`
!if "${INSTALLMODE}" == "perMachine"
RequestExecutionLevel highest
RequestExecutionLevel admin
!endif
!if "${INSTALLMODE}" == "currentUser"