Skip to content

Commit 3211694

Browse files
author
Xiaoyu Wang
committed
Update SHIR version 5.0 support
1 parent 892bcc2 commit 3211694

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SHIR/build.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$DmgcmdPath = "C:\Program Files\Microsoft Integration Runtime\4.0\Shared\dmgcmd.exe"
1+
$DmgcmdPath = "C:\Program Files\Microsoft Integration Runtime\5.0\Shared\dmgcmd.exe"
22

33
function Write-Log($Message) {
44
function TS { Get-Date -Format 'MM/dd/yyyy hh:mm:ss' }
@@ -9,6 +9,8 @@ function Install-SHIR() {
99
Write-Log "Install the Self-hosted Integration Runtime in the Windows container"
1010

1111
$MsiFileName = (Get-ChildItem -Path C:\SHIR | Where-Object { $_.Name -match [regex] "IntegrationRuntime_.*.msi" })[0].Name
12+
Write-Log $MsiFileName
13+
1214
Start-Process msiexec.exe -Wait -ArgumentList "/i C:\SHIR\$MsiFileName /qn"
1315
if (!$?) {
1416
Write-Log "SHIR MSI Install Failed"

SHIR/setup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$DmgcmdPath = "C:\Program Files\Microsoft Integration Runtime\4.0\Shared\dmgcmd.exe"
1+
$DmgcmdPath = "C:\Program Files\Microsoft Integration Runtime\5.0\Shared\dmgcmd.exe"
22

33
function Write-Log($Message) {
44
function TS { Get-Date -Format 'MM/dd/yyyy hh:mm:ss' }

0 commit comments

Comments
 (0)