>>I am wondering if it is possible to use Heat twice in one project. 

A MSBuild target is only called once.  

In one project I need to harvest files from different source locations.  I
define MSBuild Targets with appropriate properties and in each I call the
HeatDirectory Task (not target).  The targets are chained in a
DependsOnTargets statement so Heat is called probably 20 or more times in
that project.  It works fine.

In another project I called the CopyFile Task multiple times to build a new
source folder tree and then called HeatDirectory once to harvest the whole
tree.

Either approach is possible.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Can-Heat-be-used-more-than-once-in-a-single-MSI-project-tp7596208p7596217.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to