Befehle, um Windows Application Driver 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 Microsoft.WindowsApplicationDriver -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.WindowsApplicationDriver -e --silentwinget uninstall --id Microsoft.WindowsApplicationDriver -e --silentNach Installer
32-Bit · MSI · en-US
Stille Installation
msiexec /i WindowsApplicationDriver_1.2.1.msi /qn /norestartProtokoll schreiben
msiexec /i WindowsApplicationDriver_1.2.1.msi /qn /norestart /l*v "%TEMP%\windows-application-driver-install.log"Deinstallation
msiexec /x {087BBF93-D9E3-4D27-BDBE-9C702E0066FC} /qn /norestart- MSI-Produktcode
- {087BBF93-D9E3-4D27-BDBE-9C702E0066FC}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{087BBF93-D9E3-4D27-BDBE-9C702E0066FC}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-windows-application-driver.ps1
$url = 'https://github.com/microsoft/WinAppDriver/releases/download/v1.2.1/WindowsApplicationDriver_1.2.1.msi'
$sha256 = 'A76A8F4E44B29BAD331ACF6B6C248FCC65324F502F28826AD2ACD5F3C80857FE'
$file = Join-Path $env:TEMP 'WindowsApplicationDriver_1.2.1.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