diff --git a/playbook/shopfloor-setup/common/lib/Install-FromManifest.ps1 b/playbook/shopfloor-setup/common/lib/Install-FromManifest.ps1 index d262587..3cef4f4 100644 --- a/playbook/shopfloor-setup/common/lib/Install-FromManifest.ps1 +++ b/playbook/shopfloor-setup/common/lib/Install-FromManifest.ps1 @@ -315,7 +315,7 @@ function Invoke-InstallerAction { Write-InstallLog " WaitTimeoutSec=$($App.WaitTimeoutSec) reached - killing wrapper, will re-check detection" 'WARN' try { $proc.Kill(); $proc.WaitForExit(5000) | Out-Null } catch {} Start-Sleep -Seconds 2 - if (Test-Installed -App $App) { + if (Test-AppInstalled -App $App) { Write-InstallLog " detection passes post-kill - treating as success" $exitCode = 0 } else {