$INSTDIR should always be a path
This commit is contained in:
parent
9dcb73ac81
commit
fe52565a2f
@ -31,7 +31,7 @@ Function .onGUIInit
|
||||
Goto exit
|
||||
|
||||
IfFileExists $PROGRAMFILES\Git\bin\git.exe 0 +2
|
||||
StrCpy $INSTDIR "$PROGRAMFILES\Git\bin\git.exe"
|
||||
StrCpy $INSTDIR "$PROGRAMFILES\Git\bin"
|
||||
|
||||
exit:
|
||||
SetOutPath $INSTDIR
|
||||
@ -63,4 +63,4 @@ Section "Uninstall"
|
||||
|
||||
StrCmp $HASPROXYGIT "yes" 0
|
||||
Delete $PROGRAMFILES64\Git\cmd\git-lfs.exe
|
||||
SectionEnd
|
||||
SectionEnd
|
||||
|
Loading…
Reference in New Issue
Block a user