Team Deploy 2010 Activities

Activity Name Properties Description
Install MSIPathFilename Path and filename of MSI
ExtraArgs Any additional MsiExec arguments
TargetMachine Name of target machine
RemoteExecutePathFilename Path and filename of PsExec.exe
OverrideDefaultArgs Specify args to override /qb! /i
Uninstall ProductCode XML Product code for MSI
TargetMachine Name of target machine
RemoteExecutePathFilename Path and filename of PsExec.exe
KillProcess ProcessName Name of process to kill
TargetMachine Name of target machine
KillAppPathFilename Path and filename of PsKill.exe
IgnoreExitCode Flag to specify whether to ignore error messages
Deploy DeployScript Path and filename of XML Deployment Script (see below)
KillAppPathFilename Path and filename of PsKill.exe
RemoteExecutePathFilename Path and filename of PsExec.exe
StartService ServiceName Name of service to be started
TargetMachine Name of target machine
StopService ServiceName Name of service to be stopped
TargetMachine Name of target machine
RemoteExecute TargetMachine Name of target machine
RemoteCommand Command to execute on target machine
RemoteExecutePathFilename Path and filename of PsExec.exe
OptionalParameters Optional arguments for the command
WaitForExit Flag to specify to wait for process to complete


Team Deploy Deployment Script

Node Name Parent Node Description
DeploymentScript Na Parent node of XML containing the steps and target machines
DeploymentSteps DeploymentScript Node contain all of the steps
CleanupPSExec DeploymentSteps Removes any PsExec remaining parts
KillProcess DeploymentSteps Kills all processes with that same on the target machine
MSI DeploymentSteps Contains the information to uninstall and install a MSI
UnistallProductCode MSI Uninstalls the application.
UninstallName MSI (use either UninstallProductCode or UninstallProduceCode)
MSIPathFie MSI Path and filename to MSI for installation
OverrideDefaultArgs MSI Replaces default MsiExec arguments /qb! /i
ExtraArgs MSI Pass MSI properties such as username
TargetMachines DeploymentScript List of Target machines to perform the same actions
TargetMachine TargetMachines Uses 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 5:46 AM by mikedouglas, version 2

Comments

No comments yet.