Fix installer error on win32.
On 32-bit versions of Windows (in my case, Windows XP), the windows installer fails because it cannot expand the "pf64"constant. By changing this very constant to "pf", it gets resolved properly on all versions of Windows. See http://www.jrsoftware.org/ishelp/index.php?topic=consts for further explanation of the constants.
This commit is contained in:
parent
c923d50290
commit
417836ce53
@ -68,7 +68,7 @@ begin
|
||||
if LoadStringFromFile(TmpFileName, ExecStdOut) then begin
|
||||
if not (Pos('Git\cmd', ExtractFilePath(ExecStdOut)) = 0) then begin
|
||||
// Proxy Git path detected
|
||||
Result := ExpandConstant('{pf64}')+'\Git\mingw64\bin';
|
||||
Result := ExpandConstant('{pf}')+'\Git\mingw64\bin';
|
||||
end else begin
|
||||
Result := ExtractFilePath(ExecStdOut);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user