I developed a VSTO Outlook 2007 Addin.
When I register the .dll into the GAC and create the registry key in
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\<myAddin>
LoadBehavior 3
etc,
everything works great, the plugin works really perfect.
But when I want to share my Addin with All Users, I create the registry key here:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins\<myAddin>
(not in HKCU)
and run Outlook 2007, the Plugin not loaded and the LoadBehavior is set from 3 to 0. (by Outlook)
I try to set the HKLM and HKCU keys to same value but it will not work. The addin works ONLY when the HKLM key is not set and the plugin is registered only in HKCU.
Where is the problem? :-) Thx.