You need to create separate .msi files for the 64-bit version and the 32-bit version for special WOW64 tasks.
It is not possible to install a single MSI in either a 64-bit or a 32-bit version:
Different processor architectures require different packages.
Since you will have separate MSI files, it should be easy to add 64-bit VC ++ Runtime Redistributables to 64-bit MSI and 32-bit to 32-bit MSI, respectively.
Of course, you can create a bootloader that checks the system architecture and then runs the corresponding MSI file. I believe that dotNetInstaller offers the mechanism that was mentioned in the related question .
source
share