Commands for installing Box 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 Box.Box -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Box.Box -e --silentwinget uninstall --id Box.Box -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i BoxDrive.msi /qn /norestartWrite a log
msiexec /i BoxDrive.msi /qn /norestart /l*v "%TEMP%\box-install.log"Uninstall
msiexec /x {FC5F2974-747A-419A-BC2D-497090C60286} /qn /norestart- MSI product code
- {FC5F2974-747A-419A-BC2D-497090C60286}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FC5F2974-747A-419A-BC2D-497090C60286}
- UpgradeCode
- {46AF5B38-D258-487A-92BD-792911248CCD}
- Install folder
- APPDIR:.
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-box.ps1
$url = 'https://e3.boxcdn.net/desktop/releases/win/BoxDrive.msi'
$sha256 = '4142E0771EAC413FC26317976D6FC3CA9E77A6B71BFA61495F8FF2E2A4CA29CB'
$file = Join-Path $env:TEMP 'BoxDrive.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait