Difference between revisions of "Thunderbird"
From WPKG | Open Source Software Deployment and Distribution
m (Version 1.5) |
|||
Line 1: | Line 1: | ||
− | This is a silent installer and uninstaller for Mozilla Thunderbird 1. | + | This is a silent installer and uninstaller for Mozilla Thunderbird 1.5, but it should work with other versions of Thunderbird, too. |
− | If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1. | + | If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.5 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. | 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. | + | When a new version comes out, just replace every occurrence of 1.5 with 1.5.1 (for example) and then increment the package revision number - this puts the upgrade command to work. |
<package | <package | ||
id="thunderbird" | id="thunderbird" | ||
− | name="Mozilla Thunderbird 1. | + | name="Mozilla Thunderbird 1.5" |
− | revision=" | + | revision="150" |
reboot="false" | reboot="false" | ||
priority="0"> | priority="0"> | ||
− | <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1. | + | <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.5)" /> |
− | <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1. | + | <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.exe" -ms'> |
<exit code="0" /> | <exit code="0" /> | ||
</install> | </install> | ||
− | <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1. | + | <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.exe" -ms'> |
<exit code="0" /> | <exit code="0" /> | ||
</upgrade> | </upgrade> |
Revision as of 07:07, 3 February 2006
This is a silent installer and uninstaller for Mozilla Thunderbird 1.5, but it should work with other versions of Thunderbird, too.
If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.5 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.5 with 1.5.1 (for example) and then increment the package revision number - this puts the upgrade command to work.
<package id="thunderbird" name="Mozilla Thunderbird 1.5" revision="150" reboot="false" priority="0"> <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.5)" /> <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.exe" -ms'> <exit code="0" /> </install> <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.exe" -ms'> <exit code="0" /> </upgrade> <remove cmd='%SYSTEMROOT%\UninstallThunderbird.exe -ms' /> </package>