Befehle, um Winget-AutoUpdate 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 Romanitho.Winget-AutoUpdate -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Romanitho.Winget-AutoUpdate -e --silentwinget uninstall --id Romanitho.Winget-AutoUpdate -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i WAU.msi /qn /norestartProtokoll schreiben
msiexec /i WAU.msi /qn /norestart /l*v "%TEMP%\winget-autoupdate-install.log"Deinstallation
msiexec /x {FB0EB14E-95AC-45D7-A951-432316FFCBD4} /qn /norestart- MSI-Produktcode
- {FB0EB14E-95AC-45D7-A951-432316FFCBD4}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FB0EB14E-95AC-45D7-A951-432316FFCBD4}
- UpgradeCode
- {BDDEA607-F4AF-4229-8610-16E3B6455FDC}
- Installationsordner
- %ProgramFiles%\.\Winget-AutoUpdate
- DisplayVersion
- 2.12.0.2118
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-winget-autoupdate.ps1
$url = 'https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v2.12.0/WAU.msi'
$sha256 = 'F5AB2303FDF82FBFCB2248CCA4F96479FE17D74584A528B0F86B3DBE9F9E9718'
$file = Join-Path $env:TEMP 'WAU.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