如何使用热量更改为Wix生成的目录ID? [英] How to change the generated Directory Id for Wix using heat?

查看:99
本文介绍了如何使用热量更改为Wix生成的目录ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用热量为多个目录生成wix文件.

I am using heat to generated wix files for multiple directories.

但是,似乎目录A和目录B具有相同的文件夹名称,即使绝对路径不同,热仍然认为它是同一目录,因此生成相同的目录ID.

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.

似乎有一种解决方法,就是使用-directoryid覆盖生成的目录ID,但是手册中没有给出示例,我们假设如何传递参数.显然,以某种方式它需要知道我想更改哪个目录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.

谢谢.

http://wix.sourceforge.net/manual-wix3/heat.htm

推荐答案

从热量中覆盖输出几乎总是退回到应用XSLT来以您想要的方式获取输出.

Overriding the output from heat pretty much always falls back to applying an XSLT to get the output the way you want.

这篇关于如何使用热量更改为Wix生成的目录ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆