Team Deploy 2010 Activities

Activity NamePropertiesDescription
InstallMSIPathFilenamePath and filename of MSI
ExtraArgsAny additional MsiExec arguments
TargetMachineName of target machine
RemoteExecutePathFilenamePath and filename of PsExec.exe
OverrideDefaultArgsSpecify args to override /qb! /i
UninstallProductCodeXML Product code for MSI
TargetMachineName of target machine
RemoteExecutePathFilenamePath and filename of PsExec.exe
KillProcessProcessNameName of process to kill
TargetMachineName of target machine
KillAppPathFilenamePath and filename of PsKill.exe
IgnoreExitCodeFlag to specify whether to ignore error messages
DeployDeployScriptPath and filename of XML Deployment Script (see below)
KillAppPathFilename Path and filename of PsKill.exe
RemoteExecutePathFilename Path and filename of PsExec.exe
StartServiceServiceNameName of service to be started
TargetMachineName of target machine
StopServiceServiceNameName of service to be stopped
TargetMachineName of target machine
RemoteExecuteTargetMachineName of target machine
RemoteCommandCommand to execute on target machine
RemoteExecutePathFilenamePath and filename of PsExec.exe
OptionalParametersOptional arguments for the command
WaitForExitFlag to specify to wait for process to complete


Team Deploy Deployment Script

Node NameParent NodeDescription
DeploymentScriptNaParent node of XML containing the steps and target machines
DeploymentStepsDeploymentScriptNode contain all of the steps
CleanupPSExecDeploymentStepsRemoves any PsExec remaining parts
KillProcessDeploymentStepsKills all processes with that same on the target machine
MSIDeploymentStepsContains the information to uninstall and install a MSI
UnistallProductCodeMSIUninstalls the application.
UninstallNameMSI(use either UninstallProductCode or UninstallProduceCode)
MSIPathFieMSIPath and filename to MSI for installation
OverrideDefaultArgsMSIReplaces default MsiExec arguments /qb! /i
ExtraArgsMSIPass MSI properties such as username
TargetMachinesDeploymentScriptList of Target machines to perform the same actions
TargetMachineTargetMachinesUses attribute name to specify the target machine


Sample XML Deployment Script

<?xml version="1.0" encoding="UTF-8"?>
<DeploymentScript>
	<DeploymentSteps>
		<MSI>			       
			<UninstallProductCode>{XE7BF359-F9AD-443B-A0BE-9E256E72A61F}</UninstallProductCode>
			<MSIPathFile>\\testserver\Deployments\WebServiceApp\Temp\WebServiceApp\WebServiceApp.msi</MSIPathFile>
			<OverrideDefaultArgs></OverrideDefaultArgs>
			<ExtraArgs>ENVSERVER=test</ExtraArgs>
		</MSI>
		<MSI>			       
			<UninstallProductCode>{XC3AC33C-7FE5-441F-997C-318D88901D27}</UninstallProductCode>
			<ServiceName>My Service</ServiceName>
			<MSIPathFile>\\testserver\Deployments\ServerApp\Temp\MyService\MyService.msi</MSIPathFile>
			<OverrideDefaultArgs></OverrideDefaultArgs>
			<ExtraArgs>ENVSERVER=test_Server2 USR=mydomain\myuser PWD=abcd</ExtraArgs>
		</MSI>
		<MSI>			       
			<UninstallProductCode>{XE945AE2-246C-465F-952F-B439AC6902AE}</UninstallProductCode>
			<ServiceName>Another Service</ServiceName>
			<MSIPathFile>\\testserver\Deployments\serverApp\Temp\AnotherService\AnotherService.msi</MSIPathFile>
			<OverrideDefaultArgs></OverrideDefaultArgs>
			<ExtraArgs>ENVSERVER=test_server2 USR=mydomain\myuser PWD=abcd</ExtraArgs>
		</MSI>
	</DeploymentSteps>
	<TargetMachines>
		<TargetMachine name="test_server2" />
	</TargetMachines>
</DeploymentScript>





Last edited Mar 5, 2011 at 4:46 AM by mikedouglas, version 2

Comments

No comments yet.