如何使用 heat 更改 Wix 生成的目录 ID?
我正在使用 heat 为多个目录生成 wix 文件。
然而,看起来如果目录A和目录B具有相同的文件夹名称,即使绝对路径不同,heat仍然认为是同一个目录,因此生成相同的目录Id。
似乎有一种方法可以解决这个问题,那就是使用 -directoryid 覆盖生成的目录 Id,但是手册中没有给出示例,我们应该如何传递参数。显然,它需要以某种方式知道我想要更改哪个目录 ID,如果有人可以提供帮助,我将非常感激。
谢谢。
I am using heat to generated wix files for multiple directories.
However, it seems like if Directory A and Directory B has the same folder name, even though the absolute path is different, heat still think that it is the same directory, therefore generates the same directory Id.
There seems to be a way of fixing that, is to override the generated Directory Id by using -directoryid, but there are no examples given in the manual, how are we suppose to pass in the arguments. Obviously, somehow it needs to know which Directory Id I wanted to change, I will very much appreciate it if someone could help.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
覆盖热量的输出几乎总是会退回到应用 XSLT 来按照您想要的方式获得输出。
Overriding the output from heat pretty much always falls back to applying an XSLT to get the output the way you want.