Commands for installing Blockwork 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 Blockworked.Blockwork -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Blockworked.Blockwork -e --silentwinget uninstall --id Blockworked.Blockwork -e --silentBy installer
64-bit · EXE (Inno Setup)
Silent install
blockwork-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
blockwork-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\blockwork"ARM64 · EXE (Inno Setup)
Silent install
blockwork-windows-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
blockwork-windows-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\blockwork"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-blockwork.ps1
$url = 'https://github.com/Blockworked/Blockwork/releases/download/0.5.4/blockwork-windows-x86_64-setup.exe'
$sha256 = 'E2E366B9D4FCB6B82A5A272A15D31AC60F08284DC3E13E63B0B406DC4E3BC8CE'
$file = Join-Path $env:TEMP 'blockwork-windows-x86_64-setup.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 install-blockwork.ps1
$url = 'https://github.com/Blockworked/Blockwork/releases/download/0.5.4/blockwork-windows-arm64-setup.exe'
$sha256 = '12EC19A90B255EB9F367B00DF933B3CD801BE18E445CCF45ADF1FD96B22E3B17'
$file = Join-Path $env:TEMP 'blockwork-windows-arm64-setup.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