Changes

Jump to: navigation, search

Firefox

222 bytes added, 11:23, 30 June 2006
m
no edit summary
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 doesn't leave the old one in the registry, there is no need to differentiate versions in "package id".<br>When a new major version comes out, just replace every occurrence of 1.5 with 1.5.1 0.5 (for example) and then increment the package revision number.
Please notice that the uninstall string of 1.5.0.1 4 is still 1.5. We dont don't 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
== Make Firefox a default browser ==
This one will set Firefox as default browser for all users - it will try to start Firefox in the background (Firefox window will not open), which will set itself as the default browser. After 10 seconds, we kill Firefox process, as it's no longer needed.
<package
<install timeout="10" cmd='"%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -silent -nosplash -setDefaultBrowser' >
<exit code="-1" />
<exit code="0" />
</install>
<install cmd='ping 127.0.0.1 -n 10>NUL' />
<install cmd='taskkill /F /IM Firefox.exe' >
<exit code="0" />
<exit code="128" />
</install>
</package>

Navigation menu