[wpkg-users] firefox deployment does not work

Jon Goldberg jon at palantetech.com
Wed Feb 12 17:24:20 CET 2014


[Oops - meant to send this to the whole list!]

Hi Roland,

I deploy Firefox with customizations.

First - if you manually copy profiles.js and mozilla.cfg to the
appropriate folders on your computer (while Firefox is closed!), do you
see your customizations?  If not, the problem isn't with wpkg and is
better addressed on the Mozilla forums.

Second - Here is my "firefox customization" package, which is chained to
a clean Firefox package.  Note the file locations, and note that since
Firefox is a 32-bit app, you need to alter the location for 64-bit
systems.  I hope this helps!

Jon


<package
  id="firefoxcustomization"
  name="Mozilla Firefox customization"
  revision="1"
  reboot="false"
  priority="10">

  <variable name="PROGRAMFILES32" value="%PROGRAMFILES%" />
  <variable name="PROGRAMFILES32" value="%ProgramFiles(x86)%"
architecture="x64" />


  <check type="file" condition="exists" path="%PROGRAMFILES32%\Mozilla
Firefox\defaults\pref\policies.js" />
  <check type="file" condition="exists" path="%PROGRAMFILES32%\Mozilla
Firefox\mozilla.cfg" />

  <install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\firefox\policies.js"
"%PROGRAMFILES32%\Mozilla Firefox\defaults\pref\"' />
  <install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\firefox\mozilla.cfg"
"%PROGRAMFILES32%\Mozilla Firefox\"' />

  <upgrade include="install" />
</package>

Jon Goldberg, Palante Technology Cooperative
jon at palantetech.coop
Cell (preferred): 347-829-4566
Phone: 888-481-3655 x101
http://www.palantetech.coop






More information about the wpkg-users mailing list