EditDescription
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.
EditUsage
- 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.
EditSource
EditScript
<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>
EditNotes
- Team Deploy requires a seperate download of PSTools for the remote execution of MSIs and killing processes before installation.