117
edits
Changes
→General info for version 2.0: Update for 2.0.0.24
== General info for version 2.0 ==
As the Thunderbird install now nicely upgrades and doesn't leave the old one in the registry, there is no need to differentiate versions in package id.
When a new version comes out, just replace the installer in "upgrade cmd" with a new one, and then increment the package revision number - this puts the upgrade command to work.
<package
id="thunderbird"
name="Mozilla Thunderbird2.0.0.24" revision="20023XXX"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Mozilla Thunderbird (2.0.0.2324)" />
<install cmd='taskkill /F /IM thunderbird.exe'> <exit code="0" /> <exit code="128" /> </install> <install cmd='"%SOFTWARE%\Thunderbird\Thunderbird Setup 2.0.0.2324.exe" -ms' />
<upgrade cmd='taskkill /F /IM thunderbird.exe'>
<exit code="128" />
</upgrade>
<upgrade cmd='"%SOFTWARE%\Thunderbird\Thunderbird Setup 2.0.0.2324.exe" -ms' />
<remove cmd='taskkill /F /IM thunderbird.exe'>