Příkazy pro instalaci programu Capture Core bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes 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 --silentPodle instalátoru
64bit · EXE (NSIS) · Aktuální uživatel · en-US
Tichá instalace
"Capture Core_1.1.118_x64-setup.exe" /SVlastní složka
"Capture Core_1.1.118_x64-setup.exe" /S /D=C:\Apps\capture-core- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Capture Core
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
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