Commands for installing BrowserSelect — select browser dynamically 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 zumoshi.BrowserSelect -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id zumoshi.BrowserSelect -e --silentwinget uninstall --id zumoshi.BrowserSelect -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
BrowserSelect.exe /SCustom folder
BrowserSelect.exe /S /D=C:\Apps\browserselect-select-browser-dynamically- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BrowserSelect
32-bit · EXE (NSIS) · Current user
Silent install
BrowserSelect.exe /SCustom folder
BrowserSelect.exe /S /D=C:\Apps\browserselect-select-browser-dynamically- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\BrowserSelect
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-browserselect-select-browser-dynamically.ps1
$url = 'https://github.com/zumoshi/BrowserSelect/releases/download/1.4.1/BrowserSelect.exe'
$sha256 = '42A8F7EA2F79106F24C6657891B1C940CD98961C469E280C768F6EB354D6E0BD'
$file = Join-Path $env:TEMP 'BrowserSelect.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 install-browserselect-select-browser-dynamically.ps1
$url = 'https://github.com/zumoshi/BrowserSelect/releases/download/1.4.1/BrowserSelect.exe'
$sha256 = '42A8F7EA2F79106F24C6657891B1C940CD98961C469E280C768F6EB354D6E0BD'
$file = Join-Path $env:TEMP 'BrowserSelect.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