How to regsvr32 Outlook Add-in (dll) for 'all users'?
Posted on 2009-03-30
I have a simple Outlook COM Add-in DLL that I need to install to a PC for 'all users.' With local administrator rights, the install is simple: 1. Copy the file to a directory on the local drive, 2. Run regsvr32 c:\mydll.dll.
Unfortunately, when the local administrator logs off, the next user can not access the add-in's features. Running a log in script would be ideal, but non-administrators can not run regsvr32. I'm stuck.
I have tried copying the [HKCU\Software\Microsoft\Office\Outlook\Addins\MYADDIN] key to [HKLM\" "\MYADDIN]and restarted the machine, but it still didn't work. I also tried registering the DLL with Wise Package Studio.
How can I install my add-in for all non-admin users? Ideally, I'd like to wrap an MSI or copy and install it through a login script. Many thanks.