Anurag Shetti
Anurag Shetti

Reputation: 13

Wix binaries in TFS preview

I want to add WIX binaries in TFS preview website how to do that I have vs 2012 along with build on tfs 2012 in windows server 2012

Upvotes: 0

Views: 674

Answers (2)

Rob Mensching
Rob Mensching

Reputation: 36006

Here are the specific steps to achieve what you are looking for.

  1. Integrate the WiX toolset into your source control - that link gives you the steps to use the binaries.zip file to get the tools and check them into your build system.

  2. Suppress ICE validation in your .wixproj - the TFS build servers do not allow validation to work so set the SuppressValidation Property in MSBuild to true.

    <PropertyGroup>
      <SuppressValidation>true</SuppressValidation>
    </PropertyGroup>
    
  3. Manually run validation - validation is like static analysis, it will find problems before you ship to your customers. So, after each build, use smoke.exe to run validation on your MSI on a local server:

    smoke.exe path\to\your.msi
    

Upvotes: 4

Christopher Painter
Christopher Painter

Reputation: 55601

It seems WiX is now preinstalled on the hosted TFS build servers. However, ICE validation still fails due to environmental constraints.

If you use Votive to create your .SLN/.WIXPROJ/.WXS and go into project properties and disable validation, it should build without doing anything else.

That said, disabling validation is a non-starter for me. Therefore, I'd suggest setting up your own build server and installing WiX 3.7 on it.

Upvotes: 2

Related Questions