<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="git" name="git" revision="%version%.2" priority="0" reboot="false">
<variable name="version" value="2.24.0" />

<check type="uninstall" path="Git version %version%" condition="exists" />

<install cmd='%WPKGSOFTWARE%\git\git-%version%-64-bit.exe /sp- /verysilent /suppressmsgboxes /norestart' />

<upgrade include='remove' />
<upgrade include='install' />

<!-- hopefully one or the other of these will work. If not, dunno what to do! -->
<remove cmd='"%programfileswpkg%\git\unins000.exe" /verysilent /suppressmsgboxes /sp-'>
  <exit code="-1"/>
</remove>

<remove cmd='"%programfiles%\git\unins000.exe" /verysilent /suppressmsgboxes /sp-'>
  <exit code="-1"/>
</remove>

</package>
</packages>