I'm using Wix to create an installer for an application that, while it is 64 bit, uses some older 32 bit COMs. I found that I have to mark the component as Win64="no" in order to get the registration of that COM to be reflected in the Wow6432Node.
However, if I do that, I can no longer install that component in the same directory as the rest of my application, as I get this error message when I build:
Light0204: ICE80: This 32BitComponent MyCom.dll uses 64BitDirectory APPLICATIONFOLDER
I don't want to install my COMs in the 32 bit folder; I'd rather keep my application all together. However, if I remove the Win64="no" marker on the component the component doesn't register properly and I can't use it. So, can I install my 32 bit COMs with the rest of my 64 bit application and still have Wix do the registration without resorting to Self Registration?