deploy npapi plugin in Firefox

300 views
Skip to first unread message

Sue

unread,
Jun 7, 2011, 3:01:44 PM6/7/11
to firebreath-dev
Hi,

I got the npapi plugin created using Firebreath deployed in Firefox
using the regsvr32 command. I also develop an simple npapi plugin not
using firebreath framework. I got that one deployed on Chrome. But not
on Firefox yet. I following the instruction in the document. But it
doesn't work. Could some one let me know what it takes for the Firefox
to regconize my simple npapi plugin? If this is not the right place
for this, would you please let me know where to post. Thanks,

Neil Griffiths

unread,
Jun 7, 2011, 3:20:20 PM6/7/11
to firebre...@googlegroups.com
Have you checked to see whether it's seen by going to about:plugins in Firefox?

My initial guess (if it's not there) is that your plugin DLL has missing dependencies. You can use Dependency Walker (http://www.dependencywalker.com/) to find out if that's the case.

Or are you saying that the same plugin works in Chrome but not in Firefox?

Neil

Richard Bateman

unread,
Jun 7, 2011, 3:30:52 PM6/7/11
to firebre...@googlegroups.com

FireBreath has a special routine that makes the regsvr32 method work; that normally isn't the way you'd install a NPAPI plugin.


Richard

Sue

unread,
Jun 8, 2011, 5:06:57 PM6/8/11
to firebreath-dev
I can't see the plugin when about:plugins. That's the problem.

Yes, the same plugin works for Chrome, but not FireFox.

I am wondering what it takes to make Firefox recognize as a plugin.

Sue

unread,
Jun 8, 2011, 5:20:15 PM6/8/11
to firebreath-dev
The document said the following, I thought I tried it, but I will try
again. So where should I put my plugin dll, can it be any where? Then
all I need to do is change the windows registry so it can be seen
using about:plugins? Thanks.,

"Windows Installation Using the Registry

On Windows, plugins should be installed to a plugin-specific directory
such as C:\Program Files\Plugin Name\nppluginname.dll. Then the
following registry values should be added to the Windows registry:
HKLM/Software/MozillaPlugins/plugin-name Descripton: REG_SZ
"Description of the Plugin"
Path: REG_SZ "C:\..Path to the plugin.dll"
ProductName: REG_SZ "The Plugin Name"
Vendor: REG_SZ "The Plugin Author/Vendor"
Version: REG_SZ "0.5.whatever plugin version string" HKLM/Software/
MozillaPlugins/plugin-name/MimeTypes Add a sub-key for each MIME type
the plugin supports, with no values"

On Jun 7, 12:30 pm, Richard Bateman <rich...@batemansr.us> wrote:
> FireBreath has a special routine that makes the regsvr32 method work; that normally isn't the way you'd install a NPAPI plugin.
>
> See here:https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_D...Windows
> and here:https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_D...
>
> Richard
>
> On Jun 7, 2011, at 1:01 PM, Sue wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I got the npapi plugin created using Firebreath deployed in Firefox
> > using the regsvr32 command. I also develop an simple npapi plugin not
> > using firebreath framework. I got that one deployed on Chrome. But not
> > on Firefox yet. I following the instruction in the document. But it
> > doesn't work. Could some one let me know what it takes for the Firefox
> > to regconize my simple npapi plugin?  If this is not the right place
> > for this, would you please let me know where to post. Thanks,
>
>
>
>  smime.p7s
> 4KViewDownload

Richard Bateman

unread,
Jun 8, 2011, 6:27:37 PM6/8/11
to firebre...@googlegroups.com

The filename is important -- it must start with "np". It can be located wherever you have permissions to put it. I recommend that you put the registry settings in HKCU instead of HKLM.

Other than that, yes -- do exactly what is specified there.

Richard

Reply all
Reply to author
Forward
0 new messages