From b0a7172345cbb482917079c9f48aa0fc8eac61f9 Mon Sep 17 00:00:00 2001 From: Xuekai Mou Date: Tue, 2 Jan 2024 15:21:23 +0800 Subject: [PATCH] Fix Self-Hosted Integration Runtime script parameter name mismatch --- .../AutomationScripts/InstallGatewayOnLocalMachine.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SamplesV2/SelfHostedIntegrationRuntime/AutomationScripts/InstallGatewayOnLocalMachine.ps1 b/SamplesV2/SelfHostedIntegrationRuntime/AutomationScripts/InstallGatewayOnLocalMachine.ps1 index de841aec..f2901fc7 100644 --- a/SamplesV2/SelfHostedIntegrationRuntime/AutomationScripts/InstallGatewayOnLocalMachine.ps1 +++ b/SamplesV2/SelfHostedIntegrationRuntime/AutomationScripts/InstallGatewayOnLocalMachine.ps1 @@ -21,12 +21,12 @@ function Install-Gateway([string] $gwPath) Write-Host "Start Microsoft Integration Runtime installation" - $process = Start-Process "msiexec.exe" "/i $path /quiet /passive" -Wait -PassThru + $process = Start-Process "msiexec.exe" "/i $gwPath /quiet /passive" -Wait -PassThru if ($process.ExitCode -ne 0) { throw "Failed to install Microsoft Integration Runtime. msiexec exit code: $($process.ExitCode)" } - Start-Sleep -Seconds 30 + Start-Sleep -Seconds 30 Write-Host "Succeed to install Microsoft Integration Runtime" }