Hi I was integrating wixproject into Main Project.

And below are the changes in Wix SETUP Project Properties.

This is generating the DropContent.WXS Fragment when ever project is build
(ie it is running Heat everytime the whole project is build.) But I want
Heat to be executed only once at first time  to create DropContent.wxs .From
next time I don't want to get created for every build. Is their any property
setting  possibility of Heat not be executed for every build?

 <ItemGroup>
    <ProjectReference
Include="..\CBUDirect.Web\WebSite\CBUDirect.Web.csproj">
      <Name>CBUDirect.Web</Name>
      <Project>{9a937a48-2554-4fd2-b07b-f76f7e29b1e1}</Project>
      <Private>True</Private>
      <DoNotHarvest>True</DoNotHarvest>
      <RefProjectOutputGroups>
      </RefProjectOutputGroups>
      <RefTargetDir>INSTALLLOCATION</RefTargetDir>
      <WebProject>True</WebProject>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(WixTargetsPath)" />

<Target Name="BeforeBuild">

    <MSBuild Projects="%(ProjectReference.FullPath)" Targets="Package"
Properties="Configuration=$(Configuration);Platform=AnyCPU"
Condition="'%(ProjectReference.WebProject)'=='True'" />

    <ItemGroup>
      <LinkerBindInputPaths
Include="%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\"
/>
    </ItemGroup>

    <HeatDirectory OutputFile="DropContent.wxs"
Directory="%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\"
DirectoryRefId="INSTALLLOCATION" ComponentGroupName="CBUDirect"
AutogenerateGuids="true" ToolPath="$(WixToolPath)"
Condition="'%(ProjectReference.WebProject)'=='True'" />

  </Target>





--
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-tp7584362.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

Reply via email to