Problems in loading Outlook Add-in as a normal user

P

paresh

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
 
R

Roady [MVP]

As you've created it yourself, it is hard to tell what you are doing wrong
without knowing any specifics about what you are doing.
Other than saying that you are probably writing or reading something from
restricted areas, it is hard to be any more specific.

You'd be off-topic for this newsgroup either way. Try asking with the
developers down the hall in outlook.program_addins
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top