Skip to content

Commit c800a3f

Browse files
committed
installer: loudly warn when installing a 32-bit Git for Windows
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]>
1 parent eefa7e4 commit c800a3f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

installer/install.iss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,10 @@ begin
10911091
UpdateInfFilenames;
10921092
#if BITNESS=='32'
10931093
Result:=True;
1094+
if not IsWin64 then
1095+
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)
1096+
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
1097+
Result:=False;
10941098
#else
10951099
if not IsWin64 then begin
10961100
LogError('The 64-bit version of Git requires a 64-bit Windows. Aborting.');

0 commit comments

Comments
 (0)