WiX Heat tool, create Component with Win64 attribute

你说的曾经没有我的故事 提交于 2019-12-14 01:46:55

问题


Is there a way to generate file using heat tool which will have Win64 attribute in Component sections?

The problem is, in my 64-bit installer most of the files are 32-bit components, which must be marked as Win64="no" in Component entries. I use heat tool to generate them, so additional manual step is since required, and this brokes our automated build.

UPDATE: The short answer is "no" (which is marked as answer), I suppose I will just go with some additinal tool which will do the job.


回答1:


Heat.exe doesn't have a switch for this, but candle.exe does. Feed -arch x64 to the command line of candle.exe, and it will set platform defaults for package, components, etc.

BTW, the question was originally asked here.




回答2:


I know this is old, but was just searching for the same issue and this came up.

I discovered you can still use Heat if you add the "-arch x64" to the Compiler Additional Parameters under "Tool Settings" in the Wix project properties.



来源:https://stackoverflow.com/questions/11981498/wix-heat-tool-create-component-with-win64-attribute

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!