diff --git a/templates/nsis/installer.nsi b/templates/nsis/installer.nsi index ad759d26770..b7f61d9426c 100644 --- a/templates/nsis/installer.nsi +++ b/templates/nsis/installer.nsi @@ -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