Unable to register Outlook addin for all users

Add-in Express™ Support Service
That's what is more important than anything else

Unable to register Outlook addin for all users
 
Boris Krivonog




Posts: 5
Joined: 2008-07-15
Hi all!

I have a newby question - how to register Outlook add-in for all users?

adxloader.dll.manifest:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<assemblyIdentity name="<some assembly>, PublicKeyToken=ae4a6ca8102db121" />
<loaderSettings generateLogFile="true" shadowCopyEnabled="true" privileges="administrator" />
</configuration>

When I try to run "regsvr32 adxloader.dll" from command prompt it always registers my addin within "HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns" instead into HKLM.

Thanks in advance,
Boris
Posted 15 Jul, 2008 05:29:02 Top
Eugene Astafiev


Guest


Hello Boris,

Did you set up the RegisterForAllUsers property of the add-in module?
Posted 15 Jul, 2008 09:00:32 Top
Boris Krivonog




Posts: 5
Joined: 2008-07-15
Hi!

Thanks for your reply. Yes, I have set the RegisterForAllUsers to true (as can be seen from manifest file since privileges attribute is set to "administrator"). However, the addin is still registered under the HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\AddIns registry key, as said above. How to force add-in to be registered under the HKLM?

Thanks in advance,
Boris
Posted 04 Aug, 2008 06:18:44 Top
Eugene Astafiev


Guest


Hi Boris,

Did you unregister the add-in before using the RegSvr32.exe utility?
Posted 04 Aug, 2008 09:20:09 Top
Boris Krivonog




Posts: 5
Joined: 2008-07-15
Yes, I even tried on a "clean" machine with same result.
Posted 05 Aug, 2008 06:31:58 Top
Eugene Astafiev


Guest


Hi Boris,

1. What version and build number of Add-in Express do you use?
2. Do you use Vista?
Posted 05 Aug, 2008 06:36:36 Top
Boris Krivonog




Posts: 5
Joined: 2008-07-15

1) Add-in Express 2008 for Microsoft Office and .net,
Standard; Runtime version: v2.0.50727; Version: 4.0.1902.2005; Standard edition

2) Installation should support Vista but all my tests were on Windows XP machines.

Seems like types are correctly registered under the HKLM part of HKCR and visible for all users; only Outlook registration is stored under the HKCU. If I install the addin as user A and than logoff and loggin as user B, the addin is not present within Outlook. I can manually add it using COM Addins toolbar button within Outlook. After that, the addin work perfectly for user B.

I must state that I ported the automatically generated setup project to WiX and now I'm testing installations build using WiX toolset. However, I created a new addin and build the automatically generated setup (from VS), but when I installed the addin, the same behavior occurred.

If not otherwise, I can manually register the addin during setup project, but would like to get at the bottom of this.

Thanks,
Boris
Posted 05 Aug, 2008 07:38:06 Top
Eugene Astafiev


Guest


Hi Boris,

Please install the latest build of Add-in Express for Office and .NET. You can download it http://www.add-in-express.com/downloads/adxnet.php.

Does it help?
Posted 05 Aug, 2008 08:09:43 Top
Boris Krivonog




Posts: 5
Joined: 2008-07-15
Hi!

Yes, using the latest version of Add-in Express for Office and .NET resolved the issue. Thank you for all your time and help.

Cheers,
Boris
Posted 05 Aug, 2008 10:37:26 Top
Andrei Smolin


Add-in Express team


Posts: 18818
Joined: 2006-05-11
Hi Boris,

Thank you for the good news.


Andrei Smolin
Add-in Express Team Leader
Posted 05 Aug, 2008 13:00:04 Top