]> sigrok.org Git - sigrok-cli.git/commitdiff
nsis: Request admin privileges for Windows Vista and Windows 7.
authorUwe Hermann <redacted>
Tue, 7 Feb 2012 23:16:25 +0000 (00:16 +0100)
committerUwe Hermann <redacted>
Tue, 7 Feb 2012 23:16:25 +0000 (00:16 +0100)
contrib/sigrok-cli.nsi.in

index 083db4a3ab4e897421a9d4fcae8953688e49fa9f..2b375f5e5fa934299b3a2c8b4464bfa8900599cf 100644 (file)
@@ -41,8 +41,9 @@ OutFile "@PACKAGE_NAME@-installer-@PACKAGE_VERSION@.exe"
 # Where to install the application.
 InstallDir "$PROGRAMFILES\sigrok\@PACKAGE_NAME@"
 
-# Request application privileges for Windows Vista.
-RequestExecutionLevel user
+# Request admin privileges for Windows Vista and Windows 7.
+# http://nsis.sourceforge.net/Docs/Chapter4.html
+RequestExecutionLevel admin
 
 
 # --- MUI interface configuration ---------------------------------------------