如何使用wix收集一个文件夹中的所有文件 [英] how to harvest all files in one folder with wix
问题描述
我有以下需求:我想将一个文件夹中的所有文件收集到我的安装包中,但该文件夹中的文件可能会增加或减少,我如何自动完成?如果我有两个文件源,我希望源 2 中的文件自动覆盖源 1 中具有相同文件名的文件,我该怎么做?谢谢!
I have the following requirement: I wish to harvest all files in one folder to my install packet, but the files in that folder may increase or decrease, how can i do it automatically? and if i have two file sources, i wish file in source 2 auto-overwrite file in source 1 with same file name, how can i do this? thanks!
推荐答案
您不能直接从 Wix 中包含多个文件,但您可以使用名为heat"的工具为您完成.请注意,不建议在构建时自动使用它.
You can't include several file from Wix directly, but you can use a tool named "heat" to do it for you. Be careful it is not recommended to use it automatically on build.
链接到文档.
我不明白你的第二个问题.
I don't understand your second question.
这篇关于如何使用wix收集一个文件夹中的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!