搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to create registry entry after XPI installation?

  • 1 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 ddawson

more options

I am a newbie in XPI development. I have created XPI which contains NPAPI plugin dll. I want to create registry entry at "HKLM\Software\MozillaPlugins\<Plugin_Name>\Path".

I am using Gecko 1.9 and want to have create above registry when user will install my XPI. The XPI structure is -XPI install.rdf plugins\napapiplugin.dll

Is there any way to do it from install.rdf. Or do I need to have a JS file which will write the registry..? If yes, how to call such function from this JS file..?

I am a newbie in XPI development. I have created XPI which contains NPAPI plugin dll. I want to create registry entry at '''"HKLM\Software\MozillaPlugins\<Plugin_Name>\Path"'''. I am using Gecko 1.9 and want to have create above registry when user will install my XPI. The XPI structure is -XPI ''install.rdf'' ''plugins\napapiplugin.dll'' Is there any way to do it from install.rdf. Or do I need to have a JS file which will write the registry..? If yes, how to call such function from this JS file..?

所有回复 (1)

more options

This forum is for end-users, not developers. You'll want to ask your question in the Add-ons Forum at https://forums.mozilla.org/addons/ , Extension Development.