Commands for installing BoxPlayer 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 gaozhangmin.BoxPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gaozhangmin.BoxPlayer -e --silentwinget uninstall --id gaozhangmin.BoxPlayer -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
boxplayer-5.0.37-win-x64.exe /SCustom folder
boxplayer-5.0.37-win-x64.exe /S /D=C:\Apps\boxplayer- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0e415da6-a059-5cfa-80cf-5d11caa4c4d7
- Install folder
- %ProgramFiles%\BoxPlayer
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-boxplayer.ps1
$url = 'https://github.com/gaozhangmin/boxplayer/releases/download/v5.0.37/boxplayer-5.0.37-win-x64.exe'
$sha256 = '6FDA321AAF92EDB75D4A3FF10DE0F61B5433CC7E53CA5E9B941CE654C20ADBC9'
$file = Join-Path $env:TEMP 'boxplayer-5.0.37-win-x64.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