Changes

Jump to: navigation, search

Firefox

No change in size, 07:50, 13 February 2012
m
just for sake of clarity..:)
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 10 (For current versions of WPKG) ===
 
This package is for versions of Firefox 10 but works the same for versions of Firefox 9, 8, 7, 6, 5 and 4.
 
This package works with 32-bit and 64-bit architectures but requires you alter the 'architecture' value for 64-bit systems.
 
<source lang="xml">
<package
id="firefox"
name="Mozilla Firefox"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="10.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>
=== Firefox 8 (Requires WPKG 1.2.1-RC20 or higher) ===
</package>
</packages:packages>
</source>
 
=== Firefox 10 (For current versions of WPKG) ===
 
This package is for versions of Firefox 10 but works the same for versions of Firefox 9, 8, 7, 6, 5 and 4.
 
This package works with 32-bit and 64-bit architectures but requires you alter the 'architecture' value for 64-bit systems.
 
<source lang="xml">
<package
id="firefox"
name="Mozilla Firefox"
revision="%version%"
reboot="false"
priority="10">
<variable name="version" value="10.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>
35
edits

Navigation menu