Changes

Jump to: navigation, search

Firefox

1,886 bytes added, 10:34, 22 July 2015
Added package for Firefox ESR WPKG 1.3.1
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 ESR 38.1.0 (WPKG 1.3.1) ===
This package is for the Extended Support Release (ESR) version of Firefox provided with a .ini for installation and client configuration.
 
<source lang="xml">
<package id="MozillaFirefox" name="Mozilla Firefox ESR" revision="%PKG_VERSION%">
<variable name="PKG_VERSION" value="38.1.0" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\mozilla\firefox" />
<variable name="PKG_SETUP_INI" value="%PKG_SOURCE%\firefox.ini" />
<variable name="PKG_CONFIG1" value="%PKG_SOURCE%\mozilla.cfg" />
<variable name="PKG_CONFIG2" value="%PKG_SOURCE%\policies.js" />
<check type="uninstall" condition="versionequal" path="Mozilla Firefox.*" value="%PKG_VERSION%" />
<commands>
<command type="install" include="kill" />
<command type="install" cmd="%PKG_SOURCE%\firefox_setup_38.1.0_esr.exe /INI=%PKG_SETUP_INI%" />
<!-- 32 Bit copy config -->
<command type="install" architecture="x86" cmd="xcopy /R /Y %PKG_CONFIG1% &quot;%ProgramFiles%\Mozilla Firefox\&quot;" />
<command type="install" architecture="x86" cmd="xcopy /R /Y %PKG_CONFIG2% &quot;%ProgramFiles%\Mozilla Firefox\defaults\pref\&quot;" />
<!-- 64 Bit copy config -->
<command type="install" architecture="x64" cmd="xcopy /R /Y %PKG_CONFIG1% &quot;%ProgramFiles(x86)%\Mozilla Firefox\&quot;" />
<command type="install" architecture="x64" cmd="xcopy /R /Y %PKG_CONFIG2% &quot;%ProgramFiles(x86)%\Mozilla Firefox\defaults\pref\&quot;" />
<command type="upgrade" include="install" />
<command type="downgrade" include="install" />
<command type="kill" cmd="taskkill /F /IM Firefox.exe">
<exit code="0" />
<exit code="128" /> <!-- process not found -->
</command>
 
<command type="remove" include="kill" />
<command type="remove" cmd="%PKG_SOURCE%\firefox_setup_38.1.0._esr.exe /S" />
</commands>
</package>
</source>
=== Firefox 19 - 37 (For current versions of WPKG) ===
5
edits

Navigation menu