DoNotHarvest controls whether the WiX MSBuild scripts will automatically harvest files in the project for you using the HeatProject task. If my memory is correct, it is set to "True" because the current implementation doesn't harvest something correctly. I think it had something to do with harvesting a project that referenced other projects where the other projects were not harvested.
Here is how I would change the Condition: <HeatDirectory OutputFile="DropContent.wxs" Directory="%(ProjectReference.RootDir)%(ProjectReference. Directory)obj\$(Configuration)\Package\PackageTmp\" DirectoryRefId="INSTALLLOCATION" ComponentGroupName="CBUDirect" AutogenerateGuids="true" ToolPath="$(WixToolPath)" Condition=" !Exists('DropContent.wxs') AND ('%(ProjectReference.WebProject)' == 'True') " /> On Fri, Mar 15, 2013 at 5:51 AM, chennam <chatrapathi.chen...@gmail.com>wrote: > Hi Edwin, > > Thanks for the reply .. > > Yes we would like check-in the Heat fragments into over TFS and manage that > file components when ever we add new files to the Main project and make WIX > project setup also part of daily builds. > > Can you specify how and where to specify the condition to check for the > file > as you said? > > Another thing that strikes me is even though I specified the > > <DoNotHarvest>True</DoNotHarvest> not sure why heat.exe is run? > > Thanks In advance. > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Consume-MSDeploy-Staged-Web-Site-Output-in-a-WIX-Installer-tp7584362p7584373.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Edwin G. Castro ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users