• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2489
  • Last Modified:

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

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.
0
NoPainNoGain
Asked:
NoPainNoGain
  • 3
  • 2
1 Solution
 
peakpeakCommented:
Login script for the machine account has admin priv. Use that
0
 
NoPainNoGainAuthor Commented:
That will succeed, except none of the users of the machine will see the add-in.
0
 
peakpeakCommented:
You need to make the users temporarily to admins on the local machine. There's VB-script out there to accomplish this
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
NoPainNoGainAuthor 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?
0
 
Vadim RappCommented:
Extract COM information from the addin (Wise Editor can do this if you add the dll to the installation, and the dll is already registered; or use utility WiseCOMCapture.exe from Wise program directory), then create MSI and assign it in group policy for the user with "install this application during logon". It then will be installed for every user, so every user will have the key under his HKCU.
0
 
NoPainNoGainAuthor Commented:
None
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now