c# - Harvest files from multiple directories in wix with HeatDirectory -
so far, doing harvest files single directory:
<heatdirectory directoryrefid="installfolder" outputfile="references.wxs" directory="../myproject/reference1" componentgroupname="ref1" toolpath="$(wixtoolpath)" preprocessorvariable="var.ref1" autogenerateguids="true"> </heatdirectory> how can harvest files multiple directories 1 .wxs file heatdirectory below:
<heatdirectory outputfile="references.wxs" directory="directory1_path|directory2_path|...." componentgroupname="ref1" toolpath="$(wixtoolpath)" autogenerateguids="true"> </heatdirectory> is there way or need have multiple heatdirectory elements in wixproject file?
heatdirectory (as name implies) harvests 1 directory (and optionally children) @ time. harvest 2 directory roots, you'll need 2 heatdirectory elements. you'll need output 2 different .wxs files otherwise 1 harvest action overwrite other's output file.
Comments
Post a Comment