I am currently building an installer that targets only 64-bit machines. Part of the process involves running Heat.exe to create Fragment elements that contain part of the deployed application.
The problem is that heat-generated components cause ICE: 80 errors, which are WiX, complaining that components targeting 32-bit systems and my installer are trying to load them into:
<Directory Id="ProgramFiles64Folder">
The documentation has a -platform switch that can be used to -platform Heat that we are targeting an x64 environment, but there is no information in the documentation on how to use this switch. I tried:
-platform=x64 -platform=Win64
Nothing seems to affect the result to set the Win64 attribute for the generated components. Has anyone figured this out? Or am I completely barking on the wrong tree?
If I manually edited the assembled components to add Win64="yes" , the ICE error will disappear.
In my <Product> element, I have Platform="x64" , as I understand that it should accept this candle and understand that the components should be installed on x64 by default, but this does not work, it seems.
Vaguely.
windows-installer wix
Jammer
source share