Commands for installing Blockbench 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 JannisX11.Blockbench -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JannisX11.Blockbench -e --silentwinget uninstall --id JannisX11.Blockbench -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
Blockbench_5.2.2.exe /SCustom folder
Blockbench_5.2.2.exe /S /D=C:\Apps\blockbenchUninstall
msiexec /x {F73268A5-4451-5BB0-B2B7-A92A16EE01D9} /qn /norestart- MSI product code
- {F73268A5-4451-5BB0-B2B7-A92A16EE01D9}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F73268A5-4451-5BB0-B2B7-A92A16EE01D9}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-blockbench.ps1
$url = 'https://github.com/JannisX11/blockbench/releases/download/v5.2.2/Blockbench_5.2.2.exe'
$sha256 = 'DE14D72E27A6598AD5595CA5E66C15EA0E360DE5218207F934572265245A2BC1'
$file = Join-Path $env:TEMP 'Blockbench_5.2.2.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