Commands for installing PriorityGear 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 tsuchim.PriorityGear -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id tsuchim.PriorityGear -e --silentwinget uninstall --id tsuchim.PriorityGear -e --silentBy installer
64-bit · ZIP · All users
Silent install
PriorityGear-v0.3.6-win-x64-installer.zip --install --silent- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PriorityGear_v0.3.6
- DisplayVersion
- 0.3.6
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-prioritygear.ps1
$url = 'https://github.com/tsuchim/priority-gear/releases/download/v0.3.6/PriorityGear-v0.3.6-win-x64-installer.zip'
$sha256 = 'A981285C97B6EC30C493091526719841CE8C2344E743E3F77711D4854EA29D87'
$file = Join-Path $env:TEMP 'PriorityGear-v0.3.6-win-x64-installer.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '--install --silent' -Wait