Commands for installing pyfa 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 pyfa.pyfa -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pyfa.pyfa -e --silentwinget uninstall --id pyfa.pyfa -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
pyfa-v2.69.3-win.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
pyfa-v2.69.3-win.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pyfa"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3DA39096-C08D-49CD-90E0-1D177F32C8AA}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pyfa.ps1
$url = 'https://github.com/pyfa-org/Pyfa/releases/download/v2.69.3/pyfa-v2.69.3-win.exe'
$sha256 = '3BD437F2CFCDF284AA9C2F4F47A68B466A192FB3D9A2B8EA7CA31502804D11C0'
$file = Join-Path $env:TEMP 'pyfa-v2.69.3-win.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