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.
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