From da5443b219ced4c8f7e488ce16ee4026a6039f1d Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 24 Mar 2021 11:52:50 +0100 Subject: [PATCH] GitHub CI [Win]: XIMEA - use official installer --- .github/scripts/Windows/prepare.ps1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/scripts/Windows/prepare.ps1 b/.github/scripts/Windows/prepare.ps1 index 33059e834..ab3855de0 100644 --- a/.github/scripts/Windows/prepare.ps1 +++ b/.github/scripts/Windows/prepare.ps1 @@ -13,11 +13,9 @@ if (!${env:no_cuda}) { } # Install XIMEA -if (${env:SDK_URL}) { - Invoke-WebRequest ${env:SDK_URL}/ximea.zip -OutFile ximea.zip - Expand-Archive -LiteralPath 'ximea.zip' -DestinationPath 'C:\' - Remove-Item ximea.zip -} +Invoke-WebRequest https://www.ximea.com/support/attachments/download/37/XIMEA_API_Installer.exe -OutFile XIMEA_API_Installer.exe +Start-Process -FilePath .\XIMEA_API_Installer.exe -ArgumentList "/S /SecXiApi=ON" -Wait +Remove-Item XIMEA_API_Installer.exe # Install NDI if (${env:SDK_URL} -and ${env:GITHUB_REF} -eq "refs/heads/ndi-build") {