Commands for installing wevtail without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Ldogg123.wevtail -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ldogg123.wevtail -e --silentwinget uninstall --id Ldogg123.wevtail -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i wevtail-0.1.1-x86_64.msi /qn /norestartWrite a log
msiexec /i wevtail-0.1.1-x86_64.msi /qn /norestart /l*v "%TEMP%\wevtail-install.log"Uninstall
msiexec /x {B8E61C6E-C230-4336-A85D-D86AA41154C5} /qn /norestart- MSI product code
- {B8E61C6E-C230-4336-A85D-D86AA41154C5}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8E61C6E-C230-4336-A85D-D86AA41154C5}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-wevtail.ps1
$url = 'https://github.com/Ldogg123/wevtail/releases/download/v0.1.1/wevtail-0.1.1-x86_64.msi'
$sha256 = 'CE9D9FA2FD78B8FEB56B1029218C0C5F04E2ECF83489EAC9E41F33B1B6886C81'
$file = Join-Path $env:TEMP 'wevtail-0.1.1-x86_64.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