Reputation: 187
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
Upvotes: 3
Views: 2776
Reputation: 31651
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.
TargetPlatform = x64
TargetPlatform = x86
Upvotes: 3