Changes

Firefox

260 bytes added, 19:31, 12 February 2008
m
no edit summary
Note that the Add/Remove Programs string of Firefox 1.5 is used for all subversions (1.5.0.4, 1.5.0.5 etc). We don't bump the package version number assuming that minor version upgrade works from Firefox itself. If we did, we would force reinstall on the people who already have Firefox automagically updated.
<source lang="xml"><package
id="firefox"
name="Mozilla Firefox 1.5"
<remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\uninstall.exe" -ms' />
</package></source>
Last version is 2.0.0.11 (http://developer.mozilla.org/devnews/index.php/2007/11/30/firefox-20011-stability-update-now-available-for-download/).
For Firefox 2.0 uninstall flags changed:
<source lang="xml"><package
id="firefox"
name="Mozilla Firefox 2.0"
<remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" /s' />
</package></source> 
== Make Firefox the default browser ==
This one will set Firefox as the 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 the Firefox process, as it's no longer needed, and repeat the process again to make sure we really did set the default browser to Firefox (it's needed to do it like this in some circumstances). Note the "taskkill" command exists in Windows XP (and probably Windows Server 2003) but not Windows 2000.
<source lang="xml"><package
id="firefox-default"
name="Make Firefox the default browser"
</install>
</package></source>
See also [http://kb.mozillazine.org/Default_browser#Windows||MozillaZine Wiki on Default Browser].
with <depends profile-id "..."> in profiles.xml:
<source lang="xml"><profile id="firefox2">
<package package-id="firefox20" />
<package package-id="firefox2-ext-adblockplus" />
<package package-id="firefox2-ext-screengrab" />
<package package-id="firefox2-ext-dic-de-de" />
</profile></source>
<source lang="xml"><profile id="firefox2-dev">
<depends profile-id="firefox2" />
<package package-id="firefox2-ext-aardvark" />
<package package-id="firefox2-ext-videodown" />
<package package-id="firefox2-ext-fireftp" />
</profile></source>
Don't forget to adjust the language version of firefox and its extensions,
uninstall).
<source lang="xml">
<packages>
<package
</package>
<!--TEMPLATE package for fx_extensions (change XX) (19 Zeilen)-->
<package
</packages>
</source>
 
=== New limitations on -install-global-extension parameter in version 2.0.0.7 ===
You must copy your XPI on local drive before install this. (for example)
<source lang="xml">
<install cmd='cmd /C copy /Y "%SOFTWARE%\mozilla\fx_extensions\firebug-1.05-fx+fl.xpi" c:\NETINST' />
<install cmd='"%PROGRAMFILES%\Mozilla Firefox\FIREFOX.EXE" -install-global-extension c:\NETINST\firebug-1.05-fx+fl.xpi'><exit code="0"/></install>
<install cmd='cmd /C del /q /s c:\NETINST\firebug-1.05-fx+fl.xpi'/>
</source>
 
== Locking user preferences / Firefox settings for all users (like proxy etc.) ==
Then, create a file called mozilla.txt (yes, mozilla.txt, not
mozilla.cfg), and put your custom settings there (NOTE: this file has to begin with //, as the first line of this config file seem to be ignored):
<presource lang="js">
//
lockPref("network.proxy.backup.ftp", "your.proxy");
lockPref("network.proxy.ssl_port", 3128);
lockPref("network.proxy.type", 1);
</presource>
Next, convert this file into mozilla.cfg, and copy this file to
If you don't care about encoding the mozilla.cfg file, append this config to all.js instead:
<presource lang="js">
pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
</presource>
The file mozilla.cfg must be located in "%ProgramFiles%\Mozilla Firefox\".
http://developer.mozilla.org/en/docs/Automatic_Mozilla_Configurator:Locked_config_settings:
 
== Disabling auto update ==
To disable Firefox auto updates, read [[Firefox#Locking_user_preferences_.2F_Firefox_settings_for_all_users_.28like_proxy_etc..29|locking user preferences]] above first - add this line to your mozilla.cfg file:
<source lang="js">
lockPref("app.update.enabled", false);
</source>
 
== Firefox Client Customization Kit ==
The [http://www.mozilla.org/projects/cck/firefox/ Firefox Client Customization Kit] makes it easy for administrators to customize Firefox with home page settings, proxies, extensions, etc. Also, you can lock preferences so that you users cannot change them.
 
== Questions ==