installation problem with Outlook add-in written in VB6

O

ong

Hi all,

I have encounter when installing a Outlook add-in to my company user. My
situation is I have written a simple Outlook add-in (say myAddin.dll) in VB6,
and it works fine in my own computer by just registering the Dll using
Regsvr32. However, when I deploy it to my company user using the same way, it
fail to load when Outlook starts.

I think this problem is due to my user is login to our company Active
directory domain, and the policy setting prohibit normal user from installing
any program. However, even I use the RunAs command to run the regsvr32, the
user still cannot get it loaded into the Outlook.

My question is
1. How can I deploy the Add-in to the normal domain user ? Is it need to
manually change the registry HKCU record to include the Add-in entries in the
Outlook key ?

2. If I have 50 users, how can I write some login script to do the above
process ?


Thank in advance


Regards,
ong
 
K

Ken Slovak - [MVP - Outlook]

If you run regsvr32 under a different logon for permissions reasons the
addin will be registered under HKCU under that RunAs alias, not the user.
Either the user must have elevated permissions to install under their own
alias or the addin will have to be registered under HKLM to make it
available for all users on that computer.
 

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