Windows Vista UAC setting

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5495 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2008-01-27 17:44:55 +00:00
parent 34112ed24b
commit 5470b63b04
22 changed files with 38 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Name "File Functions"
OutFile "FileFunc.exe"
Caption "$(^Name)"
XPStyle on
RequestExecutionLevel user
!include "WinMessages.nsh"
!include "FileFunc.nsh"

View file

@ -10,6 +10,7 @@ OutFile "FileFuncTest.exe"
Caption "$(^Name)"
ShowInstDetails show
XPStyle on
RequestExecutionLevel user
Var FUNCTION
Var OUT1

View file

@ -14,6 +14,8 @@ Page instfiles
XPStyle on
RequestExecutionLevel user
!define TestDLL '"${NSISDIR}\Plugins\LangDLL.dll"'
Section

View file

@ -3,6 +3,7 @@
Name "NSIS LogicLib Example"
OutFile "LogicLib.exe"
ShowInstDetails show
RequestExecutionLevel user
!include "LogicLib.nsh"

View file

@ -11,6 +11,8 @@ ShowInstDetails show
Page components
Page instfiles
RequestExecutionLevel user
# settings
!define MEMENTO_REGISTRY_ROOT HKCU

View file

@ -3,6 +3,7 @@ OutFile "StrFunc.exe"
ShowInstDetails show
ShowUninstDetails show
XPStyle on
RequestExecutionLevel user
!include "StrFunc.nsh"

View file

@ -9,6 +9,7 @@ Name "Text Functions"
OutFile "TextFunc.exe"
Caption "$(^Name)"
XPStyle on
RequestExecutionLevel user
!include "WinMessages.nsh"
!include "TextFunc.nsh"

View file

@ -10,6 +10,7 @@ OutFile "TextFuncTest.exe"
Caption "$(^Name)"
ShowInstDetails show
XPStyle on
RequestExecutionLevel user
Var FUNCTION
Var TEMPFILE1

View file

@ -9,6 +9,8 @@
InstallDir "$PROGRAMFILES\User Variables Test"
RequestExecutionLevel user
;--------------------------------
;Pages

View file

@ -9,6 +9,7 @@ Name "Word Functions"
OutFile "WordFunc.exe"
Caption "$(^Name)"
XPStyle on
RequestExecutionLevel user
Var INI
Var HWND

View file

@ -10,6 +10,7 @@ OutFile "WordFuncTest.exe"
Caption "$(^Name)"
ShowInstDetails show
XPStyle on
RequestExecutionLevel user
Var FUNCTION
Var OUT

View file

@ -35,6 +35,8 @@ CheckBitmap "${NSISDIR}\Contrib\Graphics\Checks\classic-cross.bmp"
LicenseText "A test text, make sure it's all there"
LicenseData "bigtest.nsi"
RequestExecutionLevel admin
;--------------------------------
Page license

View file

@ -16,6 +16,9 @@ OutFile "example1.exe"
; The default installation directory
InstallDir $PROGRAMFILES\Example1
; Request application privileges for Windows Vista
RequestExecutionLevel user
;--------------------------------
; Pages

View file

@ -20,6 +20,9 @@ InstallDir $PROGRAMFILES\Example2
; overwrite the old one automatically)
InstallDirRegKey HKLM "Software\NSIS_Example2" "Install_Dir"
; Request application privileges for Windows Vista
RequestExecutionLevel admin
;--------------------------------
; Pages

View file

@ -44,6 +44,9 @@ DirText "Lets make a third page!"
; Install dir
InstallDir "${NSISDIR}\Examples"
; Request application privileges for Windows Vista
RequestExecutionLevel user
;--------------------------------
; Pages

View file

@ -9,6 +9,8 @@ OutFile languages.exe
XPStyle on
RequestExecutionLevel user
;--------------------------------
Page license

View file

@ -14,6 +14,7 @@
Name "One Section"
OutFile "one-section.exe"
RequestExecutionLevel user
;--------------------------------

View file

@ -12,6 +12,7 @@ Caption "Prime number generator"
ShowInstDetails show
AllowRootDirInstall true
InstallDir "$EXEDIR"
RequestExecutionLevel user
DirText "Select a directory to write primes.txt. $_CLICK"

View file

@ -10,6 +10,8 @@ OutFile "rtest.exe"
ComponentText "Select tests!"
ShowInstDetails show
RequestExecutionLevel user
;--------------------------------
Section "Test 1"

View file

@ -4,6 +4,7 @@
Name "Silent"
OutFile "silent.exe"
RequestExecutionLevel user
# uncomment the following line to make the installer silent by default.
; SilentInstall silent

View file

@ -15,6 +15,9 @@ SilentInstall silent
; The file to write
OutFile "viewhtml.exe"
; Request application privileges for Windows Vista
RequestExecutionLevel user
;--------------------------------
; The stuff to install

View file

@ -35,6 +35,9 @@ AutoCloseWindow true
; hide the "show details" box
ShowInstDetails nevershow
; Request application privileges for Windows Vista
RequestExecutionLevel admin
;--------------------------------
;Pages