This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to create registry entry after XPI installation?

  • 1 ŋuɖoɖo
  • 1 masɔmasɔ sia le esi
  • 1 view
  • Nuɖoɖo mlɔetɔ 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..?

All Replies (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.