Commands for installing Winchisel 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 lejy.Winchisel -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id lejy.Winchisel -e --silentwinget uninstall --id lejy.Winchisel -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
Winchisel-Setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Winchisel-Setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\winchisel"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A1C0E001-0A00-4000-8000-000000000001}_is1
- Install folder
- %ProgramFiles%\Winchisel
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-winchisel.ps1
$url = 'https://github.com/lejyfps/winchisel/releases/download/v1.0.9.1/Winchisel-Setup-x64.exe'
$sha256 = '1C372E64C8299D945164C7F5574616F67295CAB54E1FC3D1F7E8FC4A4D8DEE98'
$file = Join-Path $env:TEMP 'Winchisel-Setup-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait