$INSTDIR should always be a path

This commit is contained in:
risk danger olson 2015-09-09 10:19:41 -06:00
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