I'm building an add-in installer for Microsoft Office. The AI package is defined as 32 bit and activates the add-in (which is 32 and 64 bit compatible) for All Users via the HKLM hive of the registry.
Acording to this Microsoft Article, the bitness of the Office application determines which of these two locations it looks at when activating add-ins for All Users:
MSO32 bit on WIN64 bit => HKEY_LOCAL_MACHINE\Software\WOW6432Node\...
MSO64 bit on WIN64 bit => HKEY_LOCAL_MACHINE\Software\...
Hence the add-in is tied to the bitness of Office, not to the bitness Windows and hence the AI package definition.
What I would like to do is create duplicate keys in both locations, whenever installing this 32-bit package on Wind64. How can I achieve that?