Commands for installing Browser Picker 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 mortenn.BrowserPicker -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id mortenn.BrowserPicker -e --silentwinget uninstall --id mortenn.BrowserPicker -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i BrowserPicker.msi /qn /norestartWrite a log
msiexec /i BrowserPicker.msi /qn /norestart /l*v "%TEMP%\browser-picker-install.log"Uninstall
msiexec /x {D65DC7E1-1325-4D44-A05A-C6068E166B41} /qn /norestart- MSI product code
- {D65DC7E1-1325-4D44-A05A-C6068E166B41}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D65DC7E1-1325-4D44-A05A-C6068E166B41}
- UpgradeCode
- {31E74D4E-57DD-4786-BEB8-B9B8188F2764}
- Install folder
- %ProgramFiles%\BrowserPicker
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-browser-picker.ps1
$url = 'https://github.com/mortenn/BrowserPicker/releases/download/v3.2.5/BrowserPicker.msi'
$sha256 = '7CDD03A423DFB76B099F0B20C7337C777CDF1CB4FD549B59B193EEF4E31A82A6'
$file = Join-Path $env:TEMP 'BrowserPicker.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