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 cavab
  • 1 has this problem
  • 1 view
  • Last reply by 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.