Is weblock still functionable under (Win32) Mozilla 1.7 rc3?

[email protected] (yueweng)
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization http://groups.google.com
Message-ID <[email protected]>
Hi all XPCOM and XPInstall programmer,

I have go through the document "Creating XPCOM Components" by Doug
Turner and Ian Oeschger.  Then I download the weblock.xpi file from
http://www.brownhen.com/weblock.
I drag this file into the Mozilla browser (1.7 rc3).  Then the
following error reports in the install.log:

-------------------------------------------------------------------------------
file:///C:/Data/Projects/WindowHook/Mozilla/weblock_org/weblock.xpi 
--  2004-06-15 06:23:37
-------------------------------------------------------------------------------

     Mozilla WebLock Component (version 0.1)
     -------------------------

     ** ERROR (-214): Installing: C:\Program
Files\mozilla.org\Mozilla\chrome\weblock\Weblock Module
     ** ERROR (-214): Installing: C:\Program
Files\mozilla.org\Mozilla\chrome\weblock\Weblock Typelib
     ** Line: 7	Install.AddDirectory() parameters error
     [1/2]	Create Folder: C:\Program
Files\mozilla.org\Mozilla\chrome\weblock
     [2/2]	Register Package: resource:/chrome/weblock/

     Install completed successfully  --  2004-06-15 06:23:37



***********************************************************************

Then I put the weblock.xpt, weblock4.dll, contents.rdf and install.js
into "C:\Program Files\mozilla.org\Mozilla\components".  Also, I put
the subdirectory weblock into "C:\Program
Files\mozilla.org\Mozilla\chrome".  Then I run regxpcom.exe and the
below output produced.  Then I can't start my Mozilla anymore.  What
is wrong?  What exact step do I need to do in order for to run weblock
properly.


C:\Program Files\mozilla.org\Mozilla>regxpcom
*** Registering WebLockModule components (all right -- a generic
module!)
DEBUG: HeapCompact() success - 0 ms
DEBUG: Honey! I shrunk the resident-set! - 1 ms

Any help is appreciated!
Thanks,
YueWeng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.