Commands for installing BackgroundMute 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 Myst1024.BackgroundMute -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Myst1024.BackgroundMute -e --silentwinget uninstall --id Myst1024.BackgroundMute -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
BackgroundMute-Setup-1.1.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTCustom folder
BackgroundMute-Setup-1.1.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\backgroundmute"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A2374D89-7E9D-4D4D-8F18-93D4C2D2C7B4}_is1
- Install folder
- %ProgramFiles%\BackgroundMute
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-backgroundmute.ps1
$url = 'https://github.com/Myst1024/BackgroundMute/releases/download/v1.1.0/BackgroundMute-Setup-1.1.0.exe'
$sha256 = '5F86CB93230127DD57340533540ACDEB925F7F501C150DC4621511F9B767C80F'
$file = Join-Path $env:TEMP 'BackgroundMute-Setup-1.1.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART' -Wait