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 -PassThru

Write-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 

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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-10-09
  • 2022-01-21
  • 2022-02-18
  • 2021-08-12
  • 2021-11-05
猜你喜欢
  • 2022-02-08
  • 2022-02-21
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-05-25
  • 2021-11-10
相关资源
相似解决方案