Commands for installing WinShell 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 IngoHdeBoer.WinShell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IngoHdeBoer.WinShell -e --silentwinget uninstall --id IngoHdeBoer.WinShell -e --silentBy installer
64-bit · EXE (WiX Burn)
Silent install
WinShellSetup.exe /quiet /norestartUninstall
msiexec /x {DC994BFF-9CEB-4F8F-8F7B-12A53DF0A2B5} /qn /norestart- MSI product code
- {dc994bff-9ceb-4f8f-8f7b-12a53df0a2b5}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{dc994bff-9ceb-4f8f-8f7b-12a53df0a2b5}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-winshell.ps1
$url = 'https://www.winshell.org/WinShellSetup.exe'
$sha256 = '4FAAF14AE77E5E154BAC65D93451DDD163ABE18DEBBC62CD34011A700F2A0E13'
$file = Join-Path $env:TEMP 'WinShellSetup.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 '/quiet /norestart' -Wait