首页 > 代码库 > [BTS] Deploy Command

[BTS] Deploy Command

 

BizTalkDeploymentTools.AddResource.bat

@Echo OFFSET ApplicationName=%~1SET ComponentType=%~2SET ComponentName=%~3Echo.Echo.Echo ##################################################################Echo.Echo.      Deploying the fllowing Assembly...Echo       %ComponentName%Echo.Echo ##################################################################Echo.Echo.BTSTask AddResource -ApplicationName:%ApplicationName% -Type:"System.BizTalk:%ComponentType%" -Overwrite -Options:GacOnAdd,GacOnInstall,GacOnImport -Source:"%ComponentName%"Echo.Echo.

 

BizTalkDeploymentTools.Install.bat

@Echo OFFCLSCOLOR 0A@Title BizTalk Deployment Tools V1.0Echo.Echo.Echo.Echo ##################################################################Echo.Echo.      CNABB BizTalk Deployment Tools V1.1Echo.Echo.Echo ##################################################################               SET BizTalkApplicationName=MyBizTalkApplicationSET BizTalkAssembliesFile=BizTalkDeploymentTools.Assemblies.txtFOR /F "delims=: tokens=1,2*" %%i IN (%BizTalkAssembliesFile%) DO @CALL BizTalkDeploymentTools.AddResource %BizTalkApplicationName% %%i %%jEcho.Echo.Echo ##################################################################Echo.Echo       Deploy was completed.Echo.Echo       Please config the account, password, folder path and SAP in BizTalk Management Tools.Echo.Echo ##################################################################Echo.Echo.time /tPAUSE

 

BizTalkDeploymentTools.Assemblies.txt

Assembly:Integration.Biztalk.Pipelines.EncodingDecoder.dllAssembly:Integration.CScot.Functions.dllAssembly:Integration.Pol.Functions.dllBizTalkAssembly:Integration.Sap.Schemas.dllBizTalkAssembly:Integration.Cscot.Schemas.dllBizTalkAssembly:Integration.Pol.Schemas.dllBizTalkAssembly:Integration.Cscot.Maps.dllBizTalkAssembly:Integration.Pol.Maps.dllBizTalkAssembly:Integration.Cscot.Pipelines.dllBizTalkAssembly:Integration.Pol.Pipelines.dllBizTalkAssembly:Integration.Cscot.Orchestrations.dllBizTalkAssembly:Integration.Bam.Orchestrations.dllBizTalkAssembly:Integration.Pol.Orchestrations.dllBizTalkAssembly:Integration.CScot.SyncData.dll

 

Guideline:

1.Config the txt file for list all components for deploy to BizTalk server.

2.Edit BizTalkDeploymentTools.Install.bat for change the BizTalk Application Name.

3.Run BizTalkDeploymentTools.Install.bat.

 

[BTS] Deploy Command