Kommandon för att installera Capture Core utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id PiftoWorks.CaptureCore -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PiftoWorks.CaptureCore -e --silentwinget uninstall --id PiftoWorks.CaptureCore -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare · en-US
Tyst installation
"Capture Core_1.1.118_x64-setup.exe" /SEgen mapp
"Capture Core_1.1.118_x64-setup.exe" /S /D=C:\Apps\capture-core- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Capture Core
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-capture-core.ps1
$url = 'https://piftoworks.com/downloads/capture-core/Capture%20Core_1.1.118_x64-setup.exe'
$sha256 = '96300FF5CB8E27BF143CD6EEC2C9AD04E0D090E35ECE77FE479D54ABA4069404'
$file = Join-Path $env:TEMP 'Capture Core_1.1.118_x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait