Outlook add-in registration failure

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

We use Outlook 2003 with the latest service pack and patchs.

i have created a COM add-in for outlook. We use Regsvr32.exe to register the
DLL. When an administrator registers the DLL everything s going OK.

My users only have users right to thier machines. When a user registers the
add-in an error meesage shows:
DllRegisterServer in Outlook Toolbar.dll failed.
Return code was: 0x80004005

Any idea on why this is happening or what can I do to allow my users to
register the DLL?

Any comment will help.

Ilan Krayn
 
Hi Ilan,
Any idea on why this is happening or what can I do to allow my users to
register the DLL?

To register a COM AddIn it needs access to the registry sections
HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE, more installation stuff of
the COM AddIn goes to HKEY_CURRENT_USER. If your users have restricted
accounts they can only access HKEY_CURRENT_USER with read/write
permissions and all others with only read permissions. Running
"regedt32.exe" you can give them write permissions to
HKEY_CLASSES_ROOT and HKEY_LOCAL_MACHINE, but that's dangerous 'cause
viruses and trojans and such will also have access to this sections.
It would be better to change their account for the time of
installation to admin/main user and afterwards switch them back to
restricted acounts or to logon as admin and register the COM AddIn...



Bis dann...
...Bomi
 
Back
Top