View Single Post
  #2  
Old September 7th 07, 02:46 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default installation problem with Outlook add-in written in VB6

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.

--
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


"ong" wrote in message
...
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


Ads