Commands for installing Overcaption 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
winget install --id Overcaption.Overcaption -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Overcaption.Overcaption -e --silentwinget uninstall --id Overcaption.Overcaption -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Overcaption-0.4.9-win-x64.exe /SOvercaption-0.4.9-win-x64.exe /S /D=C:\Apps\overcaptionPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
$url = 'https://github.com/overcaption/overcaption/releases/download/v0.4.9/Overcaption-0.4.9-win-x64.exe'
$sha256 = '4A9FBE5AF69C6BD5DA6E39D3BEFA77D9D254CBE18D3A4485C7CF958D6D0AF583'
$file = Join-Path $env:TEMP 'Overcaption-0.4.9-win-x64.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