How to change the generated Directory Id for Wix using heat?

落爺英雄遲暮 提交于 2019-12-19 08:30:31

问题


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.

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


回答1:


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



来源:https://stackoverflow.com/questions/8539762/how-to-change-the-generated-directory-id-for-wix-using-heat

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