In general, that is true although target batching can be used to get the effect 
of multiple target execution.

Multiple task execution can be achieved more easily using task batching.

I have examples of each in this article:

http://borgsdemons.com/blog/2014/07/11/yet-more-improve-wix-way-patch-project-with-burn-bootstrapper/
 

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Thursday, October 30, 2014 3:24 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Automatically 'harvest' files in VS 2013

Brian the Wix documentation defines both a "HeatDirectory Target" and a 
"HeatDirectory Task".  I have only used the "HeatDirectory Task" (from within 
BeforeBuild) in part because I call the task more than once to get different 
source folder trees.

When doing a wix build with VS logging set to Diagnostic, I can see that the 
"HeatDirectory Target" is skipped (for my project), but could have been called 
as part of the build process.  It does do some things that don't happen when 
"HeatDirectory Task" is called.  So I think that is the detail that you are 
asking about, and maybe others can elaborate on.

MSBuild will only process a Target once in a build process AFAIK, but a Task 
can be called multiple times.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Automatically-harvest-files-in-VS-2013-tp7597592p7597605.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to