Commands for installing Redact 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 RedactSoftware.Redact -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RedactSoftware.Redact -e --silentwinget uninstall --id RedactSoftware.Redact -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
windows /SCustom folder
windows /S /D=C:\Apps\redactPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-redact.ps1
$url = 'https://download.redact.dev/windows'
$sha256 = '6E9C5FD76F31A6743D3002D5B14EAC61C12AF7B970ABD9F77C1F66BB55D24348'
$file = Join-Path $env:TEMP 'windows'
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