?
Solved

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

Posted on 2009-03-30
6
Medium Priority
?
2,363 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.
0
Comment
Question by:NoPainNoGain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 28

Expert Comment

by:peakpeak
ID: 24026755
Login script for the machine account has admin priv. Use that
0
 

Author Comment

by:NoPainNoGain
ID: 24027550
That will succeed, except none of the users of the machine will see the add-in.
0
 
LVL 28

Expert Comment

by:peakpeak
ID: 24027616
You need to make the users temporarily to admins on the local machine. There's VB-script out there to accomplish this
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:NoPainNoGain
ID: 24079283
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
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 1500 total points
ID: 24168881
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
 

Author Comment

by:NoPainNoGain
ID: 24224163
None
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question