summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-05 20:59:28 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-06 13:24:47 +0200
commit2078854480ccd0216f730c0eb9d9b5acabf1fc24 (patch)
tree745bf9faf9659a2522d28642179f67c90d5084ed /packaging
parent380de3bdc5853556d3cc663a6ca92fdccc3dec23 (diff)
downloadmana-2078854480ccd0216f730c0eb9d9b5acabf1fc24.tar.gz
mana-2078854480ccd0216f730c0eb9d9b5acabf1fc24.tar.bz2
mana-2078854480ccd0216f730c0eb9d9b5acabf1fc24.tar.xz
mana-2078854480ccd0216f730c0eb9d9b5acabf1fc24.zip
Request admin permissions in Windows installer
Not always necessary, for example when installing in a user directory, but not asking for admin rights does more harm than good (your average Joe will just be complaining that the installer isn't working). Reviewed-by: Yohann Ferreira
Diffstat (limited to 'packaging')
-rw-r--r--packaging/windows/setup.nsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index caa0442a..390bfb56 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -170,6 +170,7 @@ InstallDir "$PROGRAMFILES\Mana"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show
+RequestExecutionLevel admin
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY