diff --git a/.pipelines/InstallWinAppDriver.ps1 b/.pipelines/InstallWinAppDriver.ps1 index a6b84834e0..96d5270bbb 100644 --- a/.pipelines/InstallWinAppDriver.ps1 +++ b/.pipelines/InstallWinAppDriver.ps1 @@ -12,4 +12,4 @@ if ($Hash -ne 'a76a8f4e44b29bad331acf6b6c248fcc65324f502f28826ad2acd5f3c80857fe' } # Install WinAppDriver -Start-Process -Wait -FilePath "$($ENV:Temp)\WindowsApplicationDriver_1.2.1.msi" -ArgumentList "/install /quiet" +Start-Process msiexec.exe -Wait -ArgumentList "/I $($ENV:Temp)\WindowsApplicationDriver_1.2.1.msi /quiet" diff --git a/.pipelines/ci/templates/run-ui-tests-ci.yml b/.pipelines/ci/templates/run-ui-tests-ci.yml index e65ca4b3cd..40c2210867 100644 --- a/.pipelines/ci/templates/run-ui-tests-ci.yml +++ b/.pipelines/ci/templates/run-ui-tests-ci.yml @@ -46,7 +46,7 @@ jobs: displayName: Download and install WinAppDriver inputs: targetType: filePath - filePath: '$(build.sourcesdirectory)\.pipelines\installWinAppDriver.ps1' + filePath: '$(build.sourcesdirectory)\.pipelines\InstallWinAppDriver.ps1' - task: ScreenResolutionUtility@1 inputs: