GitHub CI [Windows, XIMEA]: disable further comps

Disable also all other components except XiApi.

Component names decompiled from installer with 7-zip 15.05, see also
https://nsis.sourceforge.io/Can_I_decompile_an_existing_installer.
This commit is contained in:
Martin Pulec
2022-01-21 09:06:10 +01:00
parent 2e653f3f49
commit 537afd25d9

View File

@@ -16,7 +16,7 @@ if (!${env:no_cuda}) {
}
# Install XIMEA
$proc = Start-Process -FilePath C:\XIMEA_API_Installer.exe -ArgumentList "/S /SecXiApi=ON /SecDrivers=OFF /SecXiApiNET=OFF /SecGenTL=OFF /SecPython=OFF /SecxiCamTool=OFF /SecxiCamToolExamples=OFF /SecxiCOP=OFF /SecXiLib=OFF /SecExamples=OFF /SecxiXiapiDNG=OFF" -PassThru # /SecDrivers=OFF doesn't actually disable drivers, see also https://www.ximea.com/support/wiki/apis/Unattended_Installation_XIMEA_API_Installer
$proc = Start-Process -FilePath C:\XIMEA_API_Installer.exe -ArgumentList "/S /SecXiApi=ON /SecDriversIeee1394=OFF /SecDriversUsb=OFF /SecDriversPCIe=OFF /SecXiApiNET=OFF /SecNETCore22=OFF /SecNETCore31=OFF /SecGenTL=OFF /SecPython=OFF /SecxiCamTool=OFF /SecxiCamToolExamples=OFF /SecxiCOP=OFF /SecXiLib=OFF /SecExamples=OFF /SecxiXiapiDNG=OFF" -PassThru # https://www.ximea.com/support/wiki/apis/Unattended_Installation_XIMEA_API_Installer, https://nsis.sourceforge.io/Can_I_decompile_an_existing_installer
$proc | Wait-Process -Timeout 300 -ErrorAction SilentlyContinue -ErrorVariable timeouted
if ($timeouted) {
# terminate the process