如何排除文件被加热(WiX 3.5)收集? [英] How can I exclude files from being harvested with heat (WiX 3.5)?
问题描述
我想使用 heat.exe 收集一个包含大量文件的文件夹.但我不想收集所有文件,而是想排除特定的文件扩展名,如*.txt"或类似的东西.我该怎么做?
I would like to harvest a folder with a lot of files by using heat.exe. But instead of harvesting all files, I would like to exclude specific file extensions like "*.txt" or something like that. How can I do this?
推荐答案
我认为目前唯一的选择是获取整个文件夹并对生成的 .wxs 文件应用转换(参见 -t:<xsl>
开关)以排除不需要的内容(在您的情况下为 txt 文件).不过我没有尝试3.5版本的热度(根据3.0判断),但我觉得这方面没有什么变化.
I think the only option for now is to harvest the entire folder and apply a transform to the resulting .wxs file (see -t:<xsl>
switch) to exclude what is not required (txt files in your case). However, I didn't try the 3.5 version of heat (judging based on the 3.0), but I don't think there are changes in this area.
这篇关于如何排除文件被加热(WiX 3.5)收集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!