Befehle, um Log Parser 2.2 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.LogParser -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.LogParser -e --silentwinget uninstall --id Microsoft.LogParser -e --silentNach Installer
32-Bit · MSI · en-US
Stille Installation
msiexec /i LogParser.msi /qn /norestartProtokoll schreiben
msiexec /i LogParser.msi /qn /norestart /l*v "%TEMP%\log-parser-2-2-install.log"Deinstallation
msiexec /x {4AC23178-EEBC-4BAF-8CC0-AB15C8897AC9} /qn /norestart- MSI-Produktcode
- {4AC23178-EEBC-4BAF-8CC0-AB15C8897AC9}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4AC23178-EEBC-4BAF-8CC0-AB15C8897AC9}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-log-parser-2-2.ps1
$url = 'https://download.microsoft.com/download/f/f/1/ff1819f9-f702-48a5-bbc7-c9656bc74de8/LogParser.msi'
$sha256 = '7BBFDFB52A8D92A105ED2FCCDF0E44D8FB2ED49F0358390DD921886C14E9E32C'
$file = Join-Path $env:TEMP 'LogParser.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