Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

COM registration problem

3 views
Skip to first unread message

Bojan

unread,
Mar 25, 2010, 4:13:02 AM3/25/10
to
Hi,

On several machines our DLLs which are COM Add-Ins for Microsoft Office
2007, which are written in native C++ are failing to register. The DLLs are
built with Microsoft Visual Studio 2008.
Together with our DLL’s runtime Visual C++ Libraries (vcredist_x86.exe) are
also supplied.
However, on some of the computers, COM registration fails. We tried to
connect remotely to one of the problematic computers and tried to manually
register our DLL.
The strange thing we noticed is that after invoking “regsvr32.exe
ExcelPlugin2007.dll” in command prompt nothing happens (we don’t get Failed
nor Success message).

We invoked System Information on one of the computers which are experiencing
this problem and we noticed something unusual:


[Microsoft Word 2002]
[Summary]

Item Value
Application name Microsoft Word
Version 12.0
Build 6504
Product ID 89409-707-5932986-65403
Application path C:\Program Files\Microsoft Office\Office12
...

[Microsoft Word 2000]
[Summary]

Item Value
Application name Microsoft Word
Version 12.0
Build 6504
Product ID 89409-707-5932986-65403
Application path C:\Program Files\Microsoft Office\Office12
...

[Microsoft Office Word 2007]
[Summary]

Item Value
Application name Microsoft Word
Version 12.0
Build 6504
Product ID 89409-707-5932986-65403
Application path C:\Program Files\Microsoft Office\Office12
...

All three of these references have setting: Application path
C:\Program Files\Microsoft Office\Office12 (this should be the path
to Office 2007, what is strange is that both Word 2000 and Word 2002 are
pointing here too).

Does anybody know what could be the cause for COM registration to fail? And
also what can be the cause for failing silently (note that we invoked
regsvr32.exe without “/s” switch so we don’t want silent fail)?
What are necessary DLLs needed during process of COM registration? Can it be
somehow corrupted Windows/Office Installation? Can some antivirus prevent
this? Can it be prevented by group policy maybe?

Sorry for a long post but I tried to put as much information as possible.

Thank you in advance.

Bojan

unread,
Mar 31, 2010, 10:22:05 AM3/31/10
to
Anyone got a hint about this?


0 new messages