title: How to deploy a simple NPAPI plugin DLL in Mozilla Firefox (v29.0.1) in Windows?
body: <p>I downloaded "npsimple" NPAPI plugin for Mozilla from the link "<a href="https://code.google.com/p/npapi-chrome-plugin-helloworld-example/source/browse/trunk/samplevsproject/?r=2" rel="nofollow">https://code.google.com/p/npapi-chrome-plugin-helloworld-example/source/browse/trunk/samplevsproject/?r=2</a>"</p>
  
  <p>I was able to build it fine and run the plugin code in Chrome by packing the "npsimple.dll" as Chrome extension (.crx) and run it Chrome browser.</p>
  
  <p>But I wasn't able to deploy the same NPAPI plugin "npsimple.dll" in Mozilla Firefox. I tried keeping the dll in mozilla firefox's installation folder under "plugins" folder, and restarted the browser. It did not help.</p>
  
  <p>Could someone give some pointers on how to go about deploying NPAPI plugin dll in Mozilla Firefox?</p>
  
  <p>I tried the following ways, but it didn't work.</p>
  
  <p>I tried doing it by writing a plugininstall.reg file having following content inside it and imported the file in regedit window. Then I restarted Mozilla Firefox and it didn't work, </p>
  
  <p>Windows Registry Editor Version 5.00</p>
  
  <pre><code>[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@somecompany.com/npSample,version=1.‌​0.0.1]
  "Description"="A sample plugin"
  "Path"="D:\\Projects\\Browser_Plugin_Development\\NPAPI_Samples\\npapi_vs2008\\npsimp‌​le\\Debug\\npsimple.dll"
  "ProductName"="npsimple"
  "Vendor"="somecompany"
  "Version"="1.0.0.1"
  </code></pre>
  
  <p>Even I've tried keeping the npsimple.dll plugin under Mozilla's plugins directory "C:\Program Files\Mozilla Firefox\plugins" and that too didn't help.</p>
  
  <p>Thanks,
  Prem</p>