Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

wix

heat

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

like image 646
RKM Avatar asked Nov 14 '22 12:11

RKM


1 Answers

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

like image 87
Rob Mensching Avatar answered Dec 27 '22 03:12

Rob Mensching