Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6196407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:38:19+00:00 2026-05-24T03:38:19+00:00

I have a current build using teambuild/msbuild that I need to integrate a wix

  • 0

I have a current build using teambuild/msbuild that I need to integrate a wix compilation into.

The Wix project is not part of the solution that is being built instead it lives with the various tools that get pulled in with the TFSBuild.proj directory.

Before I can build the setup project I have to use Heat to harvest a couple of directories that were created during the after compile target. I have this working ok but now I’m not sure how to compile my wix project

The after compile target looks like this

 <Target Name="AfterCompile" DependsOnTargets="CopyOutputFiles;BuildMsi;BuildZip" />

Where the copy output files copied the compiled files to a specific directory and does a bit more work on them and this is the output that I need to include in my Wix project.

The BuildMsi target looks currently like this.

 <Target Name="BuildMsi" >
    <Message Text="Start harvesting Website files for Wix compliation" />
    <HeatDirectory
                  ToolPath="$(WixToolPath)"
                  Directory="$(DropLocation)\Latest\x86\Release\_PublishedWebsites\IFMA.MasterPlan.Web"
                  GenerateGuidsNow="yes"
                  ComponentGroupName="MasterPlanWeb"
                  OutputFile="$(MSBuildProjectDirectory)\Setup\Product\Fragments\wwwfiles.wxs"
                  SuppressFragments="yes"
                  DirectoryRefId="WEBROOT"
                  KeepEmptyDirectories="yes"
                  PreprocessorVariable="var.WebRoot"
                  SuppressRegistry="yes"
                  SuppressRootDirectory="yes"
                  SuppressCom="yes" />

    <Message Text="Finished harvesting Website files for Wix compliation" />

    <Message Text="Start harvesting database files for Wix compliation" />
    <HeatDirectory
                  ToolPath="$(WixToolPath)"
                  Directory="$(DropLocation)\Latest\x86\Release\Database"
                  GenerateGuidsNow="yes"
                  ComponentGroupName="MasterPlanWeb"
                  OutputFile="$(MSBuildProjectDirectory)\Setup\Product\Fragments\dbfiles.wxs"
                  SuppressFragments="yes"
                  DirectoryRefId="WEBROOT"
                  KeepEmptyDirectories="yes"
                  PreprocessorVariable="var.WebRoot"
                  SuppressRegistry="yes"
                  SuppressRootDirectory="yes"
                  SuppressCom="yes" />
<Message Text="Finished harvesting database files for Wix compliation" />  
  </Target>

So now the Wix directory $(MSBuildProjectDirectory)\Setup has the fragments its needs and I just need to essentially compile the wix project “$(MSBuildProjectDirectory)\Setup\Setup.proj”.

Do I have to first call the candle task and specify the various properties and then pass the output of that to the light task or can I somehow just compile the .proj file directly as it already has all of the information it needs (eg. referenced libraries etc).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:38:20+00:00Added an answer on May 24, 2026 at 3:38 am

    I would create a .wixproj with the list of Compile elements for you product, put the BuildMsi target above in that .wixproj and schedule it BeforeCompileAndLink. Then point TFS to MSBuild the .wixproj.

    That way your setup build is cleanly contained.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the current basic structure for each domain object that I need to
we have a big portal that build using SharePoint 2007 , asp.net 3.5 ,
Because of specifics of my current project, I have to keep using .NET 2.0.
I have a current system which is build as a Windows Application, and does
In our current database development evironment we have automated build procceses check all the
In my current environment, we have a clean build machine, which has an exact
My current problem is that I have a JFrame with a 2x2 GridLayout. And
I have a requirement on my current project (a Flex app which will be
I have a project that adds elements to an AutoCad drawing. I noticed that
I have a new web app that is packaged as a WAR as part

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.