We help IT Professionals succeed at work.

How to regsvr32 Outlook Add-in (dll) for 'all users'?

2,642 Views
Last Modified: 2013-11-13
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.
Comment
Watch Question

Commented:
Login script for the machine account has admin priv. Use that

Author

Commented:
That will succeed, except none of the users of the machine will see the add-in.

Commented:
You need to make the users temporarily to admins on the local machine. There's VB-script out there to accomplish this

Author

Commented:
Won't the user still have to log off an on for this to take effect? And then again after he or she is removed from the local admin group?
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
None
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.