Difference between revisions of "Firefox"
m (windows path seems to have slipped in) |
m (Version 1.5.0.1) |
||
Line 4: | Line 4: | ||
As the Firefox 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 Firefox 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. | + | When a new major version comes out, just replace every occurrence of 1.5 with 1.5.1 (for example) and then increment the package revision number. |
+ | |||
+ | Please notice that the uninstall string of 1.5.0.1 is still 1.5. We dont bump the package version number assuming that minor version upgrade works from FF itself. If we did, we would force reinstall on the people who already have FF automagically updated. | ||
<package | <package | ||
Line 15: | Line 17: | ||
<check type="uninstall" condition="exists" path="Mozilla Firefox (1.5)" /> | <check type="uninstall" condition="exists" path="Mozilla Firefox (1.5)" /> | ||
− | <install cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.exe" -ms'> | + | <install cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.0.1.exe" -ms'> |
<exit code="0" /> | <exit code="0" /> | ||
</install> | </install> | ||
− | <upgrade cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.exe" -ms'> | + | <upgrade cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.0.1.exe" -ms'> |
<exit code="0" /> | <exit code="0" /> | ||
</upgrade> | </upgrade> |
Revision as of 07:01, 3 February 2006
This is a silent installer and uninstaller for Mozilla Firefox 1.5, but it should work with other versions of Firefox, too.
Note the high priority - Firefox should be installed before plugins, like Macromedia Flash Player or Macromedia Authorware Player etc.
As the Firefox 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 major version comes out, just replace every occurrence of 1.5 with 1.5.1 (for example) and then increment the package revision number.
Please notice that the uninstall string of 1.5.0.1 is still 1.5. We dont bump the package version number assuming that minor version upgrade works from FF itself. If we did, we would force reinstall on the people who already have FF automagically updated.
<package id="firefox" name="Mozilla Firefox 1.5" revision="150" reboot="false" priority="10"> <check type="uninstall" condition="exists" path="Mozilla Firefox (1.5)" /> <install cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.0.1.exe" -ms'> <exit code="0" /> </install> <upgrade cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.0.1.exe" -ms'> <exit code="0" /> </upgrade> <remove cmd='%SYSTEMROOT%\UninstallFirefox.exe -ms' /> </package>