Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How to create registry entry after XPI installation?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.