Commands for installing pyRevit 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 pyRevit.pyRevit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pyRevit.pyRevit -e --silentwinget uninstall --id pyRevit.pyRevit -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
pyRevit_7.1.0.26319_admin_signed.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
pyRevit_7.1.0.26319_admin_signed.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pyrevit"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f2a3da53-6f34-41d5-abbd-389ffa7f4d5f_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pyrevit.ps1
$url = 'https://github.com/pyrevitlabs/pyRevit/releases/download/v7.1.0.26319+1907/pyRevit_7.1.0.26319_admin_signed.exe'
$sha256 = '25BD8FD61EAB72FB6CC755F0F1EE4D59A16E39A0014FA47A524CFF38E8C4D331'
$file = Join-Path $env:TEMP 'pyRevit_7.1.0.26319_admin_signed.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait