From f1980b8fcbb121472b4d68e868b4a6d478e0876b Mon Sep 17 00:00:00 2001 From: seraphima Date: Mon, 11 Mar 2024 18:16:55 +0100 Subject: [PATCH] installation argument --- .pipelines/InstallWinAppDriver.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pipelines/InstallWinAppDriver.ps1 b/.pipelines/InstallWinAppDriver.ps1 index 96d5270bbb..1b722a207d 100644 --- a/.pipelines/InstallWinAppDriver.ps1 +++ b/.pipelines/InstallWinAppDriver.ps1 @@ -2,7 +2,7 @@ $ProgressPreference = 'SilentlyContinue' $WinAppDriverDownloadUrl = "https://github.com/microsoft/WinAppDriver/releases/download/v1.2.1/WindowsApplicationDriver_1.2.1.msi" -# Download WiX binaries and verify their hash sums +# Download WinAppDriver and verify their hash sums Invoke-WebRequest -Uri $WinAppDriverDownloadUrl -OutFile "$($ENV:Temp)\WindowsApplicationDriver_1.2.1.msi" $Hash = (Get-FileHash -Algorithm SHA256 "$($ENV:Temp)\WindowsApplicationDriver_1.2.1.msi").Hash if ($Hash -ne 'a76a8f4e44b29bad331acf6b6c248fcc65324f502f28826ad2acd5f3c80857fe') @@ -12,4 +12,4 @@ if ($Hash -ne 'a76a8f4e44b29bad331acf6b6c248fcc65324f502f28826ad2acd5f3c80857fe' } # Install WinAppDriver -Start-Process msiexec.exe -Wait -ArgumentList "/I $($ENV:Temp)\WindowsApplicationDriver_1.2.1.msi /quiet" +Start-Process msiexec.exe -Wait -ArgumentList "/I $($ENV:Temp)\WindowsApplicationDriver_1.2.1.msi /quiet /passive"