20
edits
Changes
no edit summary
If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.0.7 installs.
As the Thunderbird install now nicely upgrades and doesnt leave the old one into the registry, there is no need to differentiate versions in package id.
When a new version comes out, just replace every occurrence of 1.0.7 with 1.0.8 (for example) and then increment the package revision number - this puts the upgrade command to work.
<package
id="thunderbird"
name="Mozilla Thunderbird 1.0.7"
revision="2"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.0.7)" />
<install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.0.7.exe" -ms'>
<exit code="0" />
</install>
<upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.0.7.exe" -ms'>
<exit code="0" />
</upgrade>
<remove cmd='%SYSTEMROOT%\UninstallThunderbird.exe -ms' />
</package>
[[category:Silent Installers|Thunderbird]]