[spambayes-bugs] [ spambayes-Bugs-764325 ] Can't install on Windows 2000

SourceForge.net noreply at sourceforge.net
Fri Jul 25 09:41:26 EDT 2003


Bugs item #764325, was opened at 2003-07-02 04:44
Message generated for change (Comment added) made by ghuron
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dennis Austin (portola)
Assigned to: Mark Hammond (mhammond)
Summary: Can't install on Windows 2000

Initial Comment:
When I run the binary installer on Windows 2000, it runs 
until the registering dll's section and then stops with an 
alert.  An image of the alert is attached, but the gist is

"Unable to register the DLL/OCX. 

DllREgisterServer failed; code 0x80040201.

<Abort> <Retry> <Ignore>"

I got this error on version 0.3 where Retry would just 
repeat the error and Abort would unwind the 
installation.  I never tried Ignore.

I have now tried version 0.3 and it gives the same error, 
but Abort and Retry hung the first time I tried them.  
Abort worked the second time.  I finally tried Ignore, 
which completes okay.  When I ran Outlook, though, the 
add-in wasn't there.

This is Windows 2000 SP3 on an elderly Dell Inspiron 
notebook.  It has Outlook 2002 SP2.  Both are up to 
date with recent patches.  I believe this combination is 
not known to work, but thought this information might 
help.

----------------------------------------------------------------------

Comment By: Andrew Zaikin (ghuron)
Date: 2003-07-25 19:41

Message:
Logged In: YES 
user_id=824558

Works fine here: Win2003EE+OutlookXPSP2. In the same 
enviroment ver 005 doesn't won't to install with 0x80040201

----------------------------------------------------------------------

Comment By: Mark Hammond (mhammond)
Date: 2003-07-25 18:37

Message:
Logged In: YES 
user_id=14198

I've put a new interim version at
http://starship.python.net/crew/mhammond/downloads/SpamBayes-Outlook-Setup-BugCatcher.exe.
 This version is specifically for testing this "Unable to
Register" error, so please try it as soon as you can, and
let me know how it goes.  (Note that speficically, it should
work even when that dll is not registered/installed)



----------------------------------------------------------------------

Comment By: Andrew Zaikin (ghuron)
Date: 2003-07-25 14:02

Message:
Logged In: YES 
user_id=824558

Using regmon and filemon I finally found what was the source 
of that problem: somebody unregister file %Program Files%
\Common Files\Designer\MSADDNDR.DLL 
When I register it manually, I was able to register 
spambayes_addin.dll 
I have no idea what is this module for and why 
spambayes_addin.dll is trying to access it in DLLRegisterServer
()

----------------------------------------------------------------------

Comment By: Andrew Zaikin (ghuron)
Date: 2003-07-24 18:22

Message:
Logged In: YES 
user_id=824558

Traceback (most recent call last):

  File "<string>", line 10, in ?

  File "out3.pkg/iu.pyc", line 277, in importHook

  File "out3.pkg/iu.pyc", line 362, in doimport

  File "out1.pyz/addin", line 75, in ?

  File "out1.pyz/win32com.universal", line 21, in 
RegisterInterfaces
pywintypes.com_error: (-2147319779, 'Library not 
registered.', None, None)


----------------------------------------------------------------------

Comment By: Mark Hammond (mhammond)
Date: 2003-07-23 03:55

Message:
Logged In: YES 
user_id=14198

That error code generally means the Python code doing the
registration failed.  Can you please look for a log file to
attach - see
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/spambayes/spambayes/Outlook2000/docs/troubleshooting.html
for info on finding the log

----------------------------------------------------------------------

Comment By: Dennis Austin (portola)
Date: 2003-07-22 21:39

Message:
Logged In: YES 
user_id=787905

Just to keep up to date--the 005 version of the binary 
installer still has this problem on Win 2000.

----------------------------------------------------------------------

Comment By: Dennis Austin (portola)
Date: 2003-07-21 23:29

Message:
Logged In: YES 
user_id=787905

Although this is not yet claimed to be fixed, I tested it in the 
new version 004 installer.  As expected, it fails in the same 
way it did in the 002 and 003 installers.

----------------------------------------------------------------------

Comment By: Hall Stevenson (hallstevenson)
Date: 2003-07-06 22:11

Message:
Logged In: YES 
user_id=120676

Copy-n-pasted from another bug report:

Uninstalled Office XP, cleaned up any remnants per another 
MS KB article, and reinstalled. NO Service Packs installed yet.

Tried binary instalers 002 and 003. Both fail with 
same "Unable to register DLL/OCX" error.

Tried source install again and still get error from
"addin.py" regarding Outlook 2000 not being installed or found.

----------------------------------------------------------------------

Comment By: Hall Stevenson (hallstevenson)
Date: 2003-07-06 19:29

Message:
Logged In: YES 
user_id=120676

More information. May be worthwhile or may be useless... :)

--Tried reinstalling the 002 installer and get the same error.
--Cleaned the Windows Registry of *all* entries related to 
Spambayes Outlook plug-in
--Ran 'regsvr32.exe' in app's directory, using 
both "spambayes_addin.dll" and "spamba~1.dll", per MS KB 
article. No difference.
--Found two MS KB articles that *may* be helpful, just in 
case:

http://support.microsoft.com/default.aspx?scid=kb;en-
us;207132

http://support.microsoft.com/default.aspx?scid=kb;en-
us;249873

The 2nd one mentions this:

DllRegisterServer (or DllUnregisterServer)in Dllname failed. 
Return code was: string
*Search Winerror.h for string. 

You guys are smarter than me though.... :0 I'm just trying to 
get this working again. 

Important note: I had Office/Outlook 2000 and Spambayes 
working fine ** on my wife's PC **. I decided to upgrade her 
to Office XP thinking she wouldn't notice, but she did. Mainly, 
her missing "spam thingy".

I'm not sure how up-to-date I had her Office 2000 install. I 
upgraded to Office XP and the SpamBayes plug-in was gone. 
Just so happened that 003 became available and 
troubleshooting info also said to install all SPs for Office XP, 
so I did. Didn't help me.... :(

----------------------------------------------------------------------

Comment By: Hall Stevenson (hallstevenson)
Date: 2003-07-04 08:14

Message:
Logged In: YES 
user_id=120676

Same problem here... acting exactly like installer version 002 
did, actually. My OS is XP Pro w/ all updates and Office XP w/ 
SP2 installed.

The install fails on the spambayes_addin.dll registration. 
Telling the install to "Retry" causes the installer to hang up 
and has to be killed ("End Now"). Running 
the "regsvr32.exe..." command from the Spambayes dir does 
NOT work. Gives a similar (probably the same) error.

----------------------------------------------------------------------

Comment By: Adam Walker (xenogeist)
Date: 2003-07-02 21:30

Message:
Logged In: YES 
user_id=583713

I got the same thing with Outlook 2003 (with tech refresh) on 
Windows XP. I tried uninstalling Python and win32all. (could 
not install from source after installing the tech refresh either) 
And still could not install the Binary version 003.
I installed "Spamunition" which registered it's dll fine. Then 
tried to install spambayes again. This time it worked. so I 
uninstalled spamunition. Spambayes is working fine again now.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=764325&group_id=61702



More information about the Spambayes-bugs mailing list