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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -