Commands for installing Capter 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 decipher.Capter -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id decipher.Capter -e --silentwinget uninstall --id decipher.Capter -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i capter_4.0.1_x64_en-US.msi /qn /norestartWrite a log
msiexec /i capter_4.0.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\capter-install.log"Uninstall
msiexec /x {AC0012E0-F54E-425A-996D-904C697C6C8B} /qn /norestart- MSI product code
- {AC0012E0-F54E-425A-996D-904C697C6C8B}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC0012E0-F54E-425A-996D-904C697C6C8B}
- UpgradeCode
- {B61EC997-8176-54A9-8037-E77BA2E549AE}
- Install folder
- %ProgramFiles%/Capter
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-capter.ps1
$url = 'https://github.com/decipher3114/Capter/releases/download/v4.0.1/capter_4.0.1_x64_en-US.msi'
$sha256 = 'AD019A004E183919ABBD17F057BC298868EB78029C2C32713C6B2BDA6D7A763C'
$file = Join-Path $env:TEMP 'capter_4.0.1_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait