I have a C# Add-In for Outlook 2013 64 bit on Win10 64 bit developed using VS 2017 and .Net 4.6.
I have the required registry entries under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\LegalFirst.OutlookToMatter
but the Add-In does not get loaded.
If I put the identical registry entries under HKCU the add-in loads just fine.
I want this add-in to be for all users.
The add-in was installed using VS and Windows Installer and it correctly created the HKLM entries. Not sure if its relevant but it did not have a trusted installer certificate. Happy to provide any additional info.
Can anyone offer some suggestions please.
Found the issue! Even though it is installed under "C:\Program Files\Microsoft Office 15\root\office15" it is a 32 bit process and so is not looking at HKLM\Software\Microsoft\Office at all but only HKLM\WOW6432Node\Software\Microsoft\Office.
Thanks to @dmitry-streblechenko for suggesting Procmon which lead me to procexp which showed that my oulook.exe was actually a 32 bit process.
Change my installer to x86 and all is well.