Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

How to create registry entry after XPI installation?

  • 1 antwoord
  • 1 heeft dit probleem
  • 1 weergave
  • Laatste antwoord van 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..?

Alle antwoorden (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.