首页 > 代码库 > Auto Install Workflow Manager 1.0

Auto Install Workflow Manager 1.0

Write-Host "- Begining Download Service Bus..."Start /W "c:\Program Files\Microsoft\Web Platform Installer\WebpiCmd.exe /offline /Products:ServiceBus /Path:c:\WorkflowManagerInstall\ServiceBus"Write-Host "- Downloaded Service Bus"Write-Host "- Begining Download WorkflowClient"Start /W "c:\Program Files\Microsoft\Web Platform Installer\WebpiCmd.exe /offline /Products:WorkflowClient /Path:c:\WorkflowManagerInstall\WorkflowClient"Write-Host "- Downloaded WorkflowClient"Write-Host "- Begining Download WorkflowManagerRefresh"Start /W "c:\Program Files\Microsoft\Web Platform Installer\WebpiCmd.exe /offline /Products:WorkflowManagerRefresh /Path:c:\WorkflowManagerInstall\WorkflowManagerRefresh"Write-Host "- Downloaded WorkflowManagerRefresh"Write-Host "- all files download finished..."Write-Host "- Begin Install..."Write-Host "- Installing Service Bus 1.0"Start-Process -FilePath "WebpiCmd.exe" -ArgumentList "/Install /Products:ServiceBus /XML:d:\ServiceBus\feeds\latest\webproductlist.xml /AcceptEula /SuppressPostFinish" -Wait -PassThruWrite-Host "  - Patching Service Bus 1.0 using Cumulative Update (KB2799752)"Start-Process -FilePath "d:\WorkflowManagerInstall\ServiceBus-KB2799752-x64-EN.exe" -ArgumentList "/passive" -Wait -PassThru Write-Host "- Installing Workflow Client"Start-Process -FilePath "WebpiCmd.exe" -ArgumentList "/Install /Products:WorkflowClient /XML:d:\WorkflowClient\feeds\latest\webproductlist.xml /AcceptEula /SuppressPostFinish" -Wait -PassThru Write-Host "- Installing Workflow Manager Refresh"Start-Process -FilePath "WebpiCmd.exe" -ArgumentList "/Install /Products:WorkflowManagerRefresh /XML:d:\WorkflowManagerRefresh\feeds\latest\webproductlist.xml /AcceptEula /SuppressPostFinish" -Wait -PassThru 

如果环境无法连接网络,应当先在联网机器上执行离线下载,然后再拷贝到目标机器,执行安装。