diff --git a/template_source/installer/win64.nsi b/template_source/installer/win64.nsi index bd32f2d..ae7256c 100644 --- a/template_source/installer/win64.nsi +++ b/template_source/installer/win64.nsi @@ -20,6 +20,9 @@ OutFile "..\build\${APPNAME}-Setup-x64.exe" # Destintation install directory InstallDir "$PROGRAMFILES\${APPNAME}" +# Install as administrator +RequestExecutionLevel admin + # default section start Section @@ -86,4 +89,4 @@ Section "Uninstall" # Remove uninstaller information from the registry DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" -SectionEnd \ No newline at end of file +SectionEnd