heat generated files are not able to find SourceDir directory

本小妞迷上赌 提交于 2019-11-30 17:43:13
imagi

You should add -var switch to heat command line:

From heat.exe help:

-var VariableName substitute File/@Source="SourceDir"

with a preprocessor or a wix variable. For example:

-var var.MySource

will become File/@Source="$(var.MySource)\myfile.txt"

and

-var wix.MySource

will become File/@Source="!(wix.MySource)\myfile.txt"

zarthross

Note that light will search additional SourceDir's for your file if you add them to the search path with -b

e.g.

light.exe -b Foo ...

(Answer from: https://stackoverflow.com/a/6920979/640282 )

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