View Single Post
  #3  
Old March 23rd, 2009, 01:58 PM posted to microsoft.public.outlook.installation
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 368
Default Problems in loading Outlook Add-in as a normal user

You cannot just run an addin DLL, it must be loaded by Outlook either when
Outlook starts or on demand.

If an addin is registered in HKCU it's registered for only that one user. If
an admin logon was used for registering in HKCU the addin will only be
available for that logon. If registered in HKLM it will be available for all
users on that computer.

Depending on the version of Windows and user permissions, a user may or may
not be able to run an installer that uses HKLM.

If an addin is registered in HKLM it won't show up at all in the COM Add-Ins
dialog in Outlook 2003, it will in 2007 but its status can't be changed
unless the Outlook user is running under an admin logon. Addins registered
under HKLM are considered as administrative installations, not to be messed
with by users.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"paresh" wrote in message
...
Hi,

I have created Outlook COM Add-in successfully but I am facing problems in
loading this Add-in as a normal user in Outlook. If I put
normal(non-admin)
account into Administrators group then everything works fine and
registered
Add-in, automatically gets added to COM Add-in list and start working as
expected. but if I remove myself from Administrator group then Add-in is
not
getting added in to COM Add-in list automatically and even I am not able
to
add it manually from "tools-options-other-Advanced Option-COM
Add-ins".

The more thing is, when I registered Add-in as an administrator, it
displays
add-in in reference list but don't load and create button on outlook tool
bar. This everything works fine if I add non-admin account in the
Administrators group.

Also when I try to create Add-in dll from VB6 File-make dll as normal
user,
it says "Error in accessing system registry". It also not allows me to run
the Add-in by clicking Run button with "Permission denied" message.

I think this is the only problem. I am not able to create Add-in as a
normal
user and hence it is not allowing me to add COM-in or register COM Add-in
as
normal user.

Any help would be much appreciated.

Thanks a ton,
Paresh