Skip to content

Commit

Permalink
installer: loudly warn when installing a 32-bit Git for Windows
Browse files Browse the repository at this point in the history
The warning is intended to let users know that Git for Windows (i686
variant) is soon no longer going to be serviced.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Feb 22, 2023
1 parent eefa7e4 commit c800a3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,10 @@ begin
UpdateInfFilenames;
#if BITNESS=='32'
Result:=True;
if not IsWin64 then
SuppressibleMsgBox('Git for Windows (32-bit) is nearing its end of support.'+#13+'More information at https://gitforwindows.org/32-bit.html',mbError,MB_OK or MB_DEFBUTTON1,IDOK)
else if SuppressibleMsgBox('Git for Windows (32-bit) is nearing its end of support. It is recommended to install the 64-bit variant of Git for Windows instead.'+#13+'More information at https://gitforwindows.org/32-bit.html'+#13+'Continue to install the 32-bit variant?',mbError,MB_YESNO or MB_DEFBUTTON2,IDNO)=IDNO then
Result:=False;
#else
if not IsWin64 then begin
LogError('The 64-bit version of Git requires a 64-bit Windows. Aborting.');
Expand Down

0 comments on commit c800a3f

Please sign in to comment.