WiX Heat 工具,创建具有 Win64 属性的组件 [英] WiX Heat tool, create Component with Win64 attribute
问题描述
有没有办法使用 heat
工具生成文件,该工具将在 Component
部分具有 Win64
属性?
Is there a way to generate file using heat
tool which will have Win64
attribute in Component
sections?
问题是,在我的 64 位安装程序中,大多数文件都是 32 位组件,必须在 Component
条目中标记为 Win64="no"
.我使用 heat
工具来生成它们,因此需要额外的手动步骤,这破坏了我们的自动构建.
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.
推荐答案
Heat.exe
没有这个开关,但 candle.exe
有.将 -arch x64
输入到 candle.exe
的命令行中,它将为包、组件等设置平台默认值.
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.
这篇关于WiX Heat 工具,创建具有 Win64 属性的组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!