Installing "Microsoft Visual C++ 2010 Redistributables (x86)" on 64bit machines
We need it to be installed even on 64Bit machines. The 64Bit version of this redistributable is not good for us.
For some reason InstallShield does not allow installing the above on 64bit machines.
Is this a bug? is there any way to work around it?
You can run it as InstallShield setup prerequisite. Make sure below conditions are set\modified as per your requirement. Default conditions are set based on Microsoft target system requirements mentioned on 2010 x86 download page. For example, if you would like to run this prerequisite on any Windows 10 (x86 and x64) machines then you need to add condition "Windows 10 (any)".
InstallShield prerequisite framework is designed for this purpose. It checks the condition and attempts installation before if your main installation starts. As well skips the installation if the Redistributable is already present on the machine. You just need to add the prerequisite and edit conditions based on your requirement.
Attempting it as part of custom action adds lot of extra work and may not work as expected as Microsoft Visual C++ 2010 Redistributables (x86) itself is msi installation and running multiple msi installations at the same time is not permitted (limitation from windows).