diff --git a/Examples/Modern UI/Basic.nsi b/Examples/Modern UI/Basic.nsi index 99507914..d0fc7a2d 100644 --- a/Examples/Modern UI/Basic.nsi +++ b/Examples/Modern UI/Basic.nsi @@ -15,11 +15,12 @@ OutFile "Basic.exe" ;Default installation folder - InstallDir "$PROGRAMFILES\Modern UI Test" + InstallDir "$LOCALAPPDATA\Modern UI Test" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Modern UI Test" "" + ;Request application privileges for Windows Vista RequestExecutionLevel user ;-------------------------------- diff --git a/Examples/Modern UI/HeaderBitmap.nsi b/Examples/Modern UI/HeaderBitmap.nsi index d3b42fbb..c31cdee1 100644 --- a/Examples/Modern UI/HeaderBitmap.nsi +++ b/Examples/Modern UI/HeaderBitmap.nsi @@ -15,11 +15,12 @@ OutFile "HeaderBitmap.exe" ;Default installation folder - InstallDir "$PROGRAMFILES\Modern UI Test" + InstallDir "$LOCALAPPDATA\Modern UI Test" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Modern UI Test" "" + ;Request application privileges for Windows Vista RequestExecutionLevel user ;-------------------------------- diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi index 926167d7..305c0406 100644 --- a/Examples/Modern UI/MultiLanguage.nsi +++ b/Examples/Modern UI/MultiLanguage.nsi @@ -15,11 +15,12 @@ OutFile "MultiLanguage.exe" ;Default installation folder - InstallDir "$PROGRAMFILES\Modern UI Test" + InstallDir "$LOCALAPPDATA\Modern UI Test" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Modern UI Test" "" + ;Request application privileges for Windows Vista RequestExecutionLevel user ;-------------------------------- diff --git a/Examples/Modern UI/StartMenu.nsi b/Examples/Modern UI/StartMenu.nsi index 589f4830..760f8acc 100644 --- a/Examples/Modern UI/StartMenu.nsi +++ b/Examples/Modern UI/StartMenu.nsi @@ -15,11 +15,12 @@ OutFile "StartMenu.exe" ;Default installation folder - InstallDir "$PROGRAMFILES\Modern UI Test" + InstallDir "$LOCALAPPDATA\Modern UI Test" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Modern UI Test" "" + ;Request application privileges for Windows Vista RequestExecutionLevel user ;-------------------------------- diff --git a/Examples/Modern UI/WelcomeFinish.nsi b/Examples/Modern UI/WelcomeFinish.nsi index a717f396..2121ea11 100644 --- a/Examples/Modern UI/WelcomeFinish.nsi +++ b/Examples/Modern UI/WelcomeFinish.nsi @@ -15,11 +15,14 @@ OutFile "WelcomeFinish.exe" ;Default installation folder - InstallDir "$PROGRAMFILES\Modern UI Test" + InstallDir "$LOCALAPPDATA\Modern UI Test" ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Modern UI Test" "" + ;Request application privileges for Windows Vista + RequestExecutionLevel user + ;-------------------------------- ;Interface Settings