From 2078854480ccd0216f730c0eb9d9b5acabf1fc24 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 5 Apr 2011 20:59:28 +0200 Subject: 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 --- packaging/windows/setup.nsi | 1 + 1 file changed, 1 insertion(+) (limited to 'packaging/windows') 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 -- cgit v1.2.3-70-g09d2