I'm building an add-in installer for Microsoft Office using Advanced Installer (AI). 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\Softwar
MSO64 bit on WIN64 bit => HKEY_LOCAL_MACHINE\Softwar
Hence the add-in activation is tied via the HLKM path to the bitness of Office, not to the bitness Windows and hence not the AI package definition.
What I would like to do is create duplicate keys in both locations, whenever installing this 32-bit package on Win64. How can I achieve that?