Difference between revisions of "Firefox"
m (→Make Firefox a default browser) |
(→Make Firefox a default browser) |
||
Line 27: | Line 27: | ||
== Make Firefox a default browser == | == 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, which will set itself as the default browser. After 10 seconds, we kill Firefox process, as it's no longer needed, and repeat the process again to make sure we really set the default browser to Firefox (it's needed to do it like this in some circumstances). | + | This one will set Firefox as default browser for all users - it will try to start Firefox in the background, which will set itself as the default browser. After 10 seconds, we kill Firefox process, as it's no longer needed, and repeat the process again to make sure we really set the default browser to Firefox (it's needed to do it like this in some circumstances). Note that "taskkill" command exists in Windows XP only. |
<package | <package |
Revision as of 11:59, 14 July 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 doesn't leave the old one in 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.0.5 (for example) and then increment the package revision number.
Please notice that the uninstall string of 1.5.0.4 is still 1.5. We 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 id="firefox" name="Mozilla Firefox 1.5" revision="15041" reboot="false" priority="10"> <check type="uninstall" condition="exists" path="Mozilla Firefox (1.5)" /> <install cmd='"%SOFTWARE%\firefox\Firefox Setup 1.5.0.4.exe" -ms' /> <upgrade cmd='"%SOFTWARE%\firefox\Firefox Setup 1.5.0.4.exe" -ms' /> <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\uninstall.exe" -ms' /> </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, which will set itself as the default browser. After 10 seconds, we kill Firefox process, as it's no longer needed, and repeat the process again to make sure we really set the default browser to Firefox (it's needed to do it like this in some circumstances). Note that "taskkill" command exists in Windows XP only.
<package id="firefox-default" name="Make Firefox default browser" revision="1" priority="0" execute="once"> <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> <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>
Firefox Client Customization Kit
Firefox Client Customization Kit makes it easy for administrators to customize Firefox with home page settings, proxies, extensions, etc. Also, you can lock preferences.
Questions
How do you do these things?
- Make Firefox the default browser
* Make Firefox default browser * Automated deployment of Firefox with extensions, themes, and pre-configuration