-
Dr Adam Thorn authoredDr Adam Thorn authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
thunderbird.xml 1.88 KiB
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="thunderbird" name="Mozilla Thunderbird" revision="%version%.1" reboot="false" priority="0">
<!-- NB: we've had problems with major version bumps which sometimes change the format of options
we add in chemistry-prefs.js. Thus, we tie that to a version, and please test carefully when
upgrading -->
<variable name="version" value="38.0.1" />
<variable name="prefsversion" value="38" />
<check type="uninstall" condition="exists" path="Mozilla Thunderbird %version%.*" />
<install cmd='"%software%\thunderbird\Thunderbird Setup %version%.exe" -ms' />
<install cmd='cmd /c copy "%software%\thunderbird\chemistry-prefs.js-%prefsversion%" "%programfileswpkg%\mozilla thunderbird\defaults\pref\chemistry-prefs.js" '/>
<install cmd='cmd /c copy "%software%\thunderbird\cam.ac.uk.xml" "%programfileswpkg%\mozilla thunderbird\isp\cam.ac.uk.xml" '/>
<install cmd='%software%\wpkg\tools\copydir.cmd "%software%\thunderbird\dictionaries" "%programfileswpkg%\mozilla thunderbird\dictionaries"' />
<upgrade cmd='taskkill /F /IM thunderbird.exe'>
<exit code="0" />
<exit code="128" />
</upgrade>
<upgrade cmd='"%software%\thunderbird\Thunderbird Setup %version%.exe" -ms' />
<upgrade cmd='cmd /c copy "%software%\thunderbird\chemistry-prefs.js-%prefsversion%" "%programfileswpkg%\mozilla thunderbird\defaults\pref\chemistry-prefs.js" '/>
<upgrade cmd='cmd /c copy "%software%\thunderbird\cam.ac.uk.xml" "%programfileswpkg%\mozilla thunderbird\isp\cam.ac.uk.xml" '/>
<upgrade cmd='%software%\wpkg\tools\copydir.cmd "%software%\thunderbird\dictionaries" "%programfileswpkg%\mozilla thunderbird\dictionaries"' />
<remove cmd='taskkill /F /IM thunderbird.exe'>
<exit code="0" />
<exit code="128" />
</remove>
<remove cmd='"%programfileswpkg%\Mozilla Thunderbird\uninstall\helper.exe" -ms' />
</package>
</packages>