20
edits
Changes
m
<check type="uninstall" condition="exists" path="Mozilla Firefox (1.0.75)" /> <install cmd='"\\Server\wpkg\pkg\Firefox Setup 1.0.7.exe" -ms'> <exit code="0" /> </install>
<upgrade install cmd='"\\Server\wpkg\pkg\Firefox Setup 1.0.75.exe" -ms'> <exit code="0" /> </upgradeinstall>
<remove upgrade cmd='"\\Server\wpkg\pkg\Firefox Setup 1.5.exe" -ms'> <exit code="0" /> </upgrade> <remove cmd='%SYSTEMROOT%C:\Windows\UninstallFirefox.exe -ms' /> </package>
Upgraded to Firefox 1.5
This is a silent installer and uninstaller for Mozilla Firefox 1.0.75, but it should work with other versions of Firefox, too.
Note the high priority - Firefox should be installed before plugins, like [[Flash Player|Macromedia Flash Player]] or [[Authorware Player|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 version comes out, just replace every occurrence of 1.0.7 5 with 1.05.8 1 (for example) and then increment the package revision number.
<package id="firefox" name="Mozilla Firefox 1.0.75" revision="1150" reboot="false" priority="10">
[[category:Silent Installers|Firefox]]