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

SourceForge.net noreply at sourceforge.net
Wed Jul 30 17:43:27 EDT 2003


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

Category: Outlook
Group: None
Status: Closed
Resolution: Fixed
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: Xavior Mosswart (xaviorm)
Date: 2003-07-30 12:43

Message:
Logged In: YES 
user_id=564609

I am having this problem on an NT 4 sp6a box with the 06 
version. Using Outlook 2000. any clues what is causing this? 
so far it just seems to be fixing it's self for people.

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

Comment By: Elmar Bransch (elmar71)
Date: 2003-07-28 07:11

Message:
Logged In: YES 
user_id=832399

After digging in the Mailing List and the bug base I found the 
interim version posted on 25-07 in this thread.
I was very lucky having SpamBayes 002 installed on Win2000 
Prof. with Outlook 2000 SR-1. Since upgrading to 003 it had 
the DLL-Register-0x80040201-problem, still remaining with the 
binary 005 installer. Finally the interim bug catcher release did 
the trick for me and installed fine - there has been even no 
errors in the spambayes1.log on startup so far :-)

Thanks! Keep on ...

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

Comment By: Dennis Austin (portola)
Date: 2003-07-28 06:04

Message:
Logged In: YES 
user_id=787905

Sorry to be late to the celebration--I was out of town and 
unable to test on my Win 2000 machine.  This morning, 
however, I confirmed that it installs and works correctly 
there.  Thanks!

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

Comment By: Mark Hammond (mhammond)
Date: 2003-07-25 04:50

Message:
Logged In: YES 
user_id=14198

Yay - I'm convinced this specific error, with
"win32com.universal" showing up, is fixed :)

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

Comment By: Andrew Zaikin (ghuron)
Date: 2003-07-25 04: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 03: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-24 23: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 03: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-22 12: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 06: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 08: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 07: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 04: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-03 17: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 06: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