Team Foundation Build Recipes

Deploy MSIs from TFS Build

Modified: 2008/05/08 10:25 by admin - Categorized as: Team Build Recipes
Edit

Description

This build recipe allows you to deploy MSIs from your TFS builds with Team Deploy. This is useful when you want to automatically deploy a nightly build into a test environment.

Edit

Usage

  • Download the Team Deploy tasks from www.CodePlex.com/TeamDeploy
  • Add to TFSBuild.proj as an override of the AfterEndToEndIteration target
  • See CodePlex project for detailed Guidance and Installation instructions.

Edit

Source


Edit

Script

 
  <Target Name="AfterEndToEndIteration">
    <CallTarget Condition="'$(IsDesktopBuild)'!='true'" Targets="DeployMSITargetVirtuals" />
  </Target>

  <Target Name="DeployMSITargetVirtuals">
    <Deploy DeployScript="$(SolutionRoot)\..\..\Push Scripts\SampleDeploy.xml"
            KillAppPathFilename="$(KillAppPathFilename)"
            RemoteExecutePathFilename="$(RemoteExecutePathFilename)"/>
      
  </Target>


Edit

Notes

  • Team Deploy requires a seperate download of PSTools for the remote execution of MSIs and killing processes before installation.

© 2008 William Bartholomew blog.bartholomew.id.au

Powered by screwturn wiki