The CCK (Client Customization Kit) is a tool that is useful for corporate system administrators and Mozilla partners who want to distribute Firefox with customizations for a particular environment. This allows customizations such as changing the default homepage, adding a search plugin, and even changing the default proxy settings.
Once you’ve created a CCK extension, however, there wasn’t an easy way to package up Firefox with customizations for distribution. I’ve written a utility which can accomplish this task. This tool can take the official Windows, Mac, and Linux builds of Firefox 18.104.22.168 and repackage them with an additional extension.
Basil Hashem has written up a set of directions for rebranding Firefox, and I have some additional notes about my tool below.
Source code (MPL/LGPL/GPL tri-licensed)
- For the moment, this tool only runs on mac, because that’s the only platform which can mount and create DMGs. It shouldn’t be that hard to modify the tool to run on Windows if you only want to repackage a Windows installer. Patches accepted.
- To work on Windows, the extension must include an
install.jsfile in addition to
install.rdf. All extensions generated by the CCK do this automatically. It’s possible that future versions could auto-generate an install.js. Patches accepted.
- For the moment, the tool only works on single extensions; it will not install a “multi-item package” correctly. This means that when you’re running the CCK wizard, you cannot add any items to the “Extensions/Themes” panel. This is not especially hard to fix; patches accepted.
It is a violation of the Mozilla license and trademark to distribute customized builds created with this tool outside of your organization without a written agreement with the Mozilla corporation. Contact email@example.com if you have any questions.