I\'m making a custom Firefox build. I would like to integrate my add-on (Add-on SDK) into the build. I would prefer this rather than directly integrating with the Firefox code.<
The documented way to do this is to include the .xpi file with the distribution in the directory:
[Firefox install directory]/distribution/extensions
The add-on will then be installed in (copied to) each profile upon the first use of that version of Firefox with the profile. The copy of the extension in each profile will be automatically updated using the normal auto-updating procedure. Effectively, the add-on will be treated as if separately installed in each profile. The user will not be asked to confirm installation of the add-on.
For more information see: