Skip to content

Commit

Permalink
Merge pull request gitextensions#4432 from gerhardol/feature/n4312-gi…
Browse files Browse the repository at this point in the history
…t-update

Update bundled Git version to 2.16.1-windows.2
  • Loading branch information
gerhardol committed Feb 5, 2018
2 parents 65f6dcc + 9641c3c commit 42fec7d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions Setup/DownloadExternals.cmd
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
@echo off

REM Also update in Product.wxs and UI\RequiredSoftwareDlg.wxs
set GIT_VERSION=2.16.1
set GIT_VERSION_MINOR=.2
set KDIFF3_VERSION=0.9.97

md %~p0\cache\ 2> NUL

IF NOT EXIST "%~p0\cache\Git-2.13.2-32-bit.exe" (
"%~p0\tools\curl.exe" -L -k -o %~p0\cache\Git-2.13.2-32-bit.exe https://github.com/git-for-windows/git/releases/download/v2.13.2.windows.1/Git-2.13.2-32-bit.exe
IF NOT EXIST "%~p0\cache\Git-%GIT_VERSION%%GIT_VERSION_MINOR%-32-bit.exe" (
"%~p0\tools\curl.exe" -L -k -o %~p0\cache\Git-%GIT_VERSION%%GIT_VERSION_MINOR%-32-bit.exe https://github.com/git-for-windows/git/releases/download/v%GIT_VERSION%.windows%GIT_VERSION_MINOR%/Git-%GIT_VERSION%%GIT_VERSION_MINOR%-32-bit.exe
IF ERRORLEVEL 1 EXIT /B 1
)

IF NOT EXIST "%~p0\cache\KDiff3-32bit-Setup_0.9.97.exe" (
"%~p0\tools\curl.exe" -L -k -o %~p0\cache\KDiff3-32bit-Setup_0.9.97.exe http://sourceforge.net/projects/kdiff3/files/kdiff3/0.9.97/KDiff3-32bit-Setup_0.9.97.exe/download -L http://sourceforge.net/ > NUL
IF NOT EXIST "%~p0\cache\KDiff3-32bit-Setup_%KDIFF3_VERSION%.exe" (
"%~p0\tools\curl.exe" -L -k -o %~p0\cache\KDiff3-32bit-Setup_%KDIFF3_VERSION%.exe http://sourceforge.net/projects/kdiff3/files/kdiff3/%KDIFF3_VERSION%/KDiff3-32bit-Setup_%KDIFF3_VERSION%.exe/download -L http://sourceforge.net/ > NUL
IF ERRORLEVEL 1 EXIT /B 1
)
2 changes: 1 addition & 1 deletion Setup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@
<?if $(var.IncludeRequiredSoftware) = 1 ?>
<Binary Id="KDiff" SourceFile="cache\KDiff3-32bit-Setup_0.9.97.exe" />
<CustomAction Id="InstallKDiff" Impersonate="no" BinaryKey="KDiff" Execute="deferred" ExeCommand="" Return="ignore" />
<Binary Id="Git" SourceFile="cache\Git-2.13.2-32-bit.exe" />
<Binary Id="Git" SourceFile="cache\Git-2.16.1.2-32-bit.exe" />
<CustomAction Id="InstallGit" Impersonate="no" BinaryKey="Git" Execute="deferred" ExeCommand="/COMPONENTS=&quot;assoc,assoc_sh&quot;" Return="ignore" />
<InstallExecuteSequence>
<Custom Action="InstallKDiff" After="InstallFiles"><![CDATA[INSTALLKDIFF3=1]]></Custom>
Expand Down
2 changes: 1 addition & 1 deletion Setup/UI/RequiredSoftwareDlg.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Required Software" />
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Install the additional software required to run Git Extensions" />

<Control Id="GitTitle" Type="Text" Height="15" Width="200" X="15" Y="70" Text="{\WixUI_Font_Title}Git for Windows 32bit 2.13.2" />
<Control Id="GitTitle" Type="Text" Height="15" Width="200" X="15" Y="70" Text="{\WixUI_Font_Title}Git for Windows 32bit 2.16.1.2" />
<Control Id="GitDescription" Type="Text" Height="46" Width="238" X="25" Y="86" Text="Git for Windows is the native version of Git that powers Git Extensions. You must have a version of Git installed for Git Extensions to function properly." />
<Control Id="GitCheckBox" Type="CheckBox" Height="20" Width="78" X="274" Y="87" Text="Install Git" Property="INSTALLGIT" CheckBoxValue="1" />

Expand Down

0 comments on commit 42fec7d

Please sign in to comment.