Difference between revisions of "Thunderbird"
From WPKG | Open Source Software Deployment and Distribution
Line 3: | Line 3: | ||
If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.0.7 installs. | 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]] | [[category:Silent Installers|Thunderbird]] |
Revision as of 12:19, 24 October 2005
This is a silent installer and uninstaller for Mozilla Thunderbird 1.0.7, 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.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>