Skip to content

Commit 1f3e1f7

Browse files
committed
installer: Change installer privileges to 'lowest'
Allows the installer to be run with normal user permissions again. While http://www.innosetup.org/ishelp/topic_setup_privilegesrequired.htm does not list `none` as a valid value http://jrsoftware.github.io/issrc/whatsnew.htm says: If you were using PrivilegesRequired=none before, it is recommended to switch to PrivilegesRequired=lowest. which is what this fix does. The previous value of `admin` was too high. Tested locally with the 64 bit build. Fixes git-for-windows/git#497 Signed-off-by: Jeremy Kolb <[email protected]>
1 parent 240fc1d commit 1f3e1f7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

installer/install.iss

-4
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ DefaultGroupName={#APP_NAME}
5555
DisableProgramGroupPage=auto
5656
DisableReadyPage=yes
5757
InfoBeforeFile={#SourcePath}\gpl-2.0.rtf
58-
#ifdef OUTPUT_TO_TEMP
5958
PrivilegesRequired=lowest
60-
#else
61-
PrivilegesRequired=poweruser
62-
#endif
6359
UninstallDisplayIcon={app}\{#MINGW_BITNESS}\share\git\git-for-windows.ico
6460
#ifndef COMPILE_FROM_IDE
6561
#if Pos('-',APP_VERSION)>0

0 commit comments

Comments
 (0)