Befehle, um PingYi ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Qingshihuan.PingYi -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Qingshihuan.PingYi -e --silentwinget uninstall --id Qingshihuan.PingYi -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer
Stille Installation
PingYi-0.3.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
PingYi-0.3.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pingyi"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CB72A4A2-277B-4763-9AC2-DF0B17107579}_is1
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-pingyi.ps1
$url = 'https://github.com/qingshihuan/pingyi/releases/download/v0.3.0/PingYi-0.3.0-win-x64-setup.exe'
$sha256 = '5266DB16C9C502278C58959B7F4C314873BCF10153ED3A6A4AA27D378036289C'
$file = Join-Path $env:TEMP 'PingYi-0.3.0-win-x64-setup.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