Skip to content

Commit

Permalink
fix(nsis): NSIS perMachine fails if UAC prompt is enabled
Browse files Browse the repository at this point in the history
Closes #712
  • Loading branch information
develar committed Aug 30, 2016
1 parent a4eeade commit b739f42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/nsis/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
!include "allowOnlyOneInstallerInstace.nsh"

!ifdef INSTALL_MODE_PER_ALL_USERS
RequestExecutionLevel admin
!ifdef BUILD_UNINSTALLER
RequestExecutionLevel user
!else
RequestExecutionLevel admin
!endif
!else
RequestExecutionLevel user
!endif
Expand Down

0 comments on commit b739f42

Please sign in to comment.