Commands for installing Cap without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id CapSoftware.Cap -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CapSoftware.Cap -e --silentwinget uninstall --id CapSoftware.Cap -e --silentBy installer
64-bit · EXE (NSIS) · en-US
Silent install
01KY07H6Y3QXMYMNQC740SZ300 /SCustom folder
01KY07H6Y3QXMYMNQC740SZ300 /S /D=C:\Apps\cap- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cap
- Install folder
- %LocalAppData%\Cap
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-cap.ps1
$url = 'https://cdn.crabnebula.app/asset/01KY07H6Y3QXMYMNQC740SZ300'
$sha256 = '9D1E86887537766A09E0EB986E97F1F034FB515192F94807B20C794347C25D74'
$file = Join-Path $env:TEMP '01KY07H6Y3QXMYMNQC740SZ300'
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