Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to integrate a third party xpi into firefox's install-package

0 views
Skip to first unread message

王鹏

unread,
Oct 12, 2008, 10:47:18 PM10/12/08
to dev-ext...@lists.mozilla.org
Hey!

I want to integrate xpi file into firefox's install-package, so that while
someone install this package, the xpi extensions could be installed
automatically.

I view the firefox's source tree, and there is a folder named "extensions",
there are some extensions(venkman、spellcheck) in this "extensions" folder,
I add "ac_add_options --enable-extensions=venkman,spellcheck" into
".mezconfig" file, then these extensions are now considered an integral part
of the browsing experience.

Now, theres is a third party xpi, how to add this xpi file into the
"extensions" folder so that the firefox build system could recognize and
integrate this xpi ?

Thanks!


----------------------------------------------------------------
Yours sincerely,
Roc.King
Tech.Motley

marffin

unread,
Oct 12, 2008, 11:22:13 PM10/12/08
to

you mean you have a dependency issue with your extension?

As far as I know there is no mechanism in firefox to deal with that.
Every extension should be a little independent unit.

Edward Hibbert

unread,
Oct 13, 2008, 4:13:59 AM10/13/08
to dev-ext...@lists.mozilla.org
I have a similar requirement. My extension depends on Java, and locating and installing the correct version of Java is a bit of a faff. It's also best used in conjunction with a couple of other extensions.

People often get confused and fail to install it properly - we geeks who write them find such stuff second nature and forget that it's all bewildering for a lot of real people. So for such users, the ability to provide a packaged version of Firefox with several extensions installed would be useful.
> _______________________________________________
> dev-extensions mailing list
> dev-ext...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-extensions

Chappell.Wat

unread,
Oct 13, 2008, 5:33:46 AM10/13/08
to
你可以把该扩展的文件夹路径写入注册表的某处,
它可以让 Firefox 启动的时候自动载入,
不过我个人认为这个方法很“流氓”。

See the doc below:
http://developer.mozilla.org/En/Adding_Extensions_using_the_Windows_Registry

--
Chappell.Wat
Blog: http://www.QuChao.com

Chappell.Wat

unread,
Oct 13, 2008, 10:52:33 AM10/13/08
to
You just wanna integrate it into the install pack?
try this extension:
http://www.kaply.com/weblog/2008/06/11/customizing-firefox-with-the-cck-wizard/

--
Chappell.Wat
Blog: http://www.QuChao.com

fuzzys...@gmail.com

unread,
Oct 14, 2008, 12:13:02 PM10/14/08
to

fuzzys...@gmail.com

unread,
Oct 14, 2008, 12:18:02 PM10/14/08
to
0 new messages