Okay, that's good information about an MSI's limitation, and because of that it makes sense that there's no function to facilitate getting that information.
However, in my case the program installed is an x86 no matter what the OS is, so I don't need to switch the MSI. However, after installation I'm attempting to install a driver which
require the distinction between 32 and 64 bit.
I took a look at the bootstrapper examples to see how I could switch from those, and got the idea to do a
. I ended up with this in a AfterInstall process:
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Hardware\Description\System\CentralProcessor\0");
string value = key.GetValue("Identifier").ToString();
//do x86 stuff
Thanks for your help, and thanks for Wix#!