Create a registry in both Wow6432Node and in a regular hive

So, I created MSI for Outlook Addin using Visual Sudio 2010, adding a registry key:

Reg hive

and ran it, and it put the registry keys in the Wow6432Node , although both Office and Windows are x64.

I am running windows 7 and Office 2010 x64.

Then I exported the myAddin registry hive and edited it to point to HKEY_LOCAL_MACHINE\Software\Microsoft\Office\Outlook\Addins . Opened Outlook and guessed that .... adds an addon.

The next question: how to add registry keys to a regular and Wow6432Node hive in Visual Studio?

This is the next question: Outlook COM is added but not loaded in Outlook

+3
source share
1 answer

For x64 Office, make sure that you assign the correct TargetPlatform (in the "VS Settings Project Properties" section) so that the installer knows which place in the registry to assign. By default, TargetPlatform is x86, which will place your registry bushes in Wow6432Node on the x64 OS host.

VS Installation Project (x64 Office)

TargetPlatform = x64

VS Customization Project (x86 Office)

TargetPlatform = x86

+3
source

Source: https://habr.com/ru/post/1441806/


All Articles