Commands for installing BenchMate 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 MatthiasZronek.BenchMate -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MatthiasZronek.BenchMate -e --silentwinget uninstall --id MatthiasZronek.BenchMate -e --silentBy installer
64-bit · EXE · All users
Silent install
bm-14.2.0.exe /exenoui /quiet /norestartUninstall
msiexec /x {28D8C509-9AB2-4FFB-A832-85CE7C3C022B} /qn /norestart- MSI product code
- {28D8C509-9AB2-4FFB-A832-85CE7C3C022B}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{28D8C509-9AB2-4FFB-A832-85CE7C3C022B}
- UpgradeCode
- {B63C1D13-2833-4F4A-8605-93F87F8599F6}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-benchmate.ps1
$url = 'https://dl.benchmate.org/bm-14.2.0.exe'
$sha256 = '123DD975FBE1BEDCE784BF30C755392CE69C92E07D555E9051422DD8EDFC6506'
$file = Join-Path $env:TEMP 'bm-14.2.0.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 '/exenoui /quiet /norestart' -Wait