<?xml version="1.0" encoding="UTF-8"?>
<packages >
<package id= "thunderbird"
name="Mozilla Thunderbird"
revision="56"
reboot="false"
priority="10">
<variable name= "PKG_VERSION" value= "45.4.0" />
<variable name= "VARIANTE" value= "" />
<variable architecture= "x86" name= "INSTALL_PATH" value= "%PROGRAMFILES%\Mozilla Thunderbird" />
<variable architecture= "x64" name= "INSTALL_PATH" value= "%PROGRAMFILES(x86)%\Mozilla Thunderbird" />
<check type= "uninstall" condition= "versiongreaterorequal" path= "Mozilla Thunderbird .+" value= "%PKG_VERSION%" />
<install cmd= '"%SOFTWARE%\thunderbird\Thunderbird Setup %PKG_VERSION%%VARIANTE%.exe" -ms' />
<!-- Remove the bundled Lightning -->
<install cmd= '%COMSPEC% /C if exist "%INSTALL_PATH%\distribution\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}" del /Q /F "%INSTALL_PATH%\distribution\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}"' />
<upgrade cmd= 'taskkill /F /IM thunderbird.exe' >
<exit code= "0" />
<exit code= "128" />
</upgrade>
<upgrade include= "install" />
<downgrade include= "upgrade" />
<remove cmd= 'taskkill /F /IM thunderbird.exe' >
<exit code= "0" />
<exit code= "128" />
</remove>
<remove cmd= '"%INSTALL_PATH%\uninstall\helper.exe" /S' />
</package>
</packages>