The host for your managed custom action ( SfxCA.dll ) is selected based on the $(Platform) your custom action project. You can see that the corresponding .dll is selected in wix.ca.targets . The SfxCA.dll bit SfxCA.dll will control the user action server bit. Windows Installer will automatically select the correct user action server.
So it all depends on whether your $(Platform) installed on x64 to get a 64-bit user action server.
Note. Of course, 64-bit packages can and do perform 32-bit user actions, but not vice versa.
source share