Changes

Firefox

2,463 bytes removed, 19:56, 10 November 2011
Cleanup - V7 and V4 are silmilar to V8
Command-line options for the installer are documented [https://wiki.mozilla.org/Installer:Command_Line_Arguments here], which also describes how to use a config.ini file for basic configuration of the Firefox install.
 
See [[Firefox#Customization]] for details on customizing the installation, installing extensions, and setting and locking preferences.
 
The section below called [[firefox#Adding_the_settings_to_your_package_definition]] contains the extra lines you'll need to supply Firefox with a specific configuration.
=== Firefox 8 ===
Firefox 8 appears to be very similar to Firefox 7,6,5 and 4.
<source lang="xml">
<package
</source>
=== Firefox 7 ===
 
Firefox 7 appears to be very similar to Firefox 6,5 and 4.
 
<source lang="xml">
<package
id="firefox"
name="Mozilla Firefox"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="7.0" />
<variable name="architecture" value="x86" />
<variable name="locale" value="en-GB" />
<check type="uninstall" condition="exists" path="Mozilla Firefox %version% (%architecture% %locale%)" />
 
<install cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="-1073741515" />
<exit code="128" />
</install>
 
<install cmd='"%SOFTWARE%\firefox\Firefox Setup %version%.exe" -ms' />
 
<upgrade cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</upgrade>
 
<upgrade cmd='"%SOFTWARE%\firefox\Firefox Setup %version%.exe" -ms' />
 
<remove cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</remove>
 
<!-- for 32bit and 64bit System -->
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" -ms' />
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Mozilla Firefox\uninstall\helper.exe" "%PROGRAMFILES(x86)%\Mozilla Firefox\uninstall\helper.exe" -ms' />
 
</package>
</source>
 
See [[Firefox#Customization]] for details on customizing the installation, installing extensions, and setting and locking preferences.
 
=== Firefox 4.0 series ===
 
Note: the silent install switch -ms is no longer considered deprecated.
 
<source lang="xml">
<package
id="firefox4"
name="Mozilla Firefox 4"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="4.0.1" />
<variable name="architecture" value="x86" />
<variable name="locale" value="en-US" />
<check type="uninstall" condition="exists" path="Mozilla Firefox %version% (%architecture% %locale%)" />
 
<install cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="-1073741515" />
<exit code="128" />
</install>
 
<install cmd='"%SOFTWARE%\firefox\Firefox Setup %version%.exe" -ms' />
 
<upgrade cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</upgrade>
 
<upgrade cmd='"%SOFTWARE%\firefox\Firefox Setup %version%.exe" -ms' />
 
<remove cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" />
<exit code="-1073741515" />
</remove>
 
<remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" -ms' />
</package>
</source>
 
The section below called [[firefox#Adding_the_settings_to_your_package_definition]] contains the extra lines you'll need to supply Firefox with a specific configuration.
=== Firefox 3.6 series ===
14
edits