Ordres per instal·lar EventLogExpert sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Microsoft.EventLogExpert -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.EventLogExpert -e --silentwinget uninstall --id Microsoft.EventLogExpert -e --silentPer instal·lador
64 bits · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path EventLogExpert_26.10.28.1091.msixbundleDesinstal·lar
Get-AppxPackage -Name EventLogExpert | Remove-AppxPackage- Carpeta d’instal·lació
- %ProgramFiles%\WindowsApps\EventLogExpert_26.10.28.1091_x64__8wekyb3d8bbwe
ARM64 · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path EventLogExpert_26.10.28.1091.msixbundleDesinstal·lar
Get-AppxPackage -Name EventLogExpert | Remove-AppxPackage- Carpeta d’instal·lació
- %ProgramFiles%\WindowsApps\EventLogExpert_26.10.28.1091_arm64__8wekyb3d8bbwe
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-eventlogexpert.ps1
$url = 'https://github.com/microsoft/EventLogExpert/releases/download/v26.10.28.1091/EventLogExpert_26.10.28.1091.msixbundle'
$sha256 = '2259D69FDA18D5DE30023DB96F048D87103FB8D1F18561ED697EE5A1C7127580'
$file = Join-Path $env:TEMP 'EventLogExpert_26.10.28.1091.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-eventlogexpert.ps1
$url = 'https://github.com/microsoft/EventLogExpert/releases/download/v26.10.28.1091/EventLogExpert_26.10.28.1091.msixbundle'
$sha256 = '2259D69FDA18D5DE30023DB96F048D87103FB8D1F18561ED697EE5A1C7127580'
$file = Join-Path $env:TEMP 'EventLogExpert_26.10.28.1091.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file