So I created an MSI for Outlook Addin using Visual Sudio 2010 adding registry key as:
and ran it and it puts the registry keys in the Wow6432Node although both Office and Windows is x64.
I run windows 7 and Office 2010 x64.
Then I exported myAddin registry hive and edited it so it pointed to HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins. Opened Outlook and guess what....the addin shows up.
Next question, how do I add the registry keys to both normal and Wow6432Node hive in Visual Studio?
This is a followup form this question: Outlook COM addin installed but not loading in Outlook
For x64 Office, make sure you assign the proper TargetPlatform (under VS Setup Project Properties) so that the installer knows which registry location to assign. The default TargetPlatform is x86 which will place your registry hives into Wow6432Node on a x64 OS host.
VS Setup Project (x64 Office)
TargetPlatform = x64
VS Setup Project (x86 Office)
TargetPlatform = x86
来源:https://stackoverflow.com/questions/13070586/create-registry-in-both-wow6432node-and-normal-hive