Commands for installing tev 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 Tom94.tev -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tom94.tev -e --silentwinget uninstall --id Tom94.tev -e --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i tev-installer.msi /qn /norestartWrite a log
msiexec /i tev-installer.msi /qn /norestart /l*v "%TEMP%\tev-install.log"Uninstall
msiexec /x {503EBD21-158D-418E-81F5-12468DCFE0C1} /qn /norestart- MSI product code
- {503EBD21-158D-418E-81F5-12468DCFE0C1}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{503EBD21-158D-418E-81F5-12468DCFE0C1}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-tev.ps1
$url = 'https://github.com/Tom94/tev/releases/download/v2.14.0/tev-installer.msi'
$sha256 = 'A49F55FF3E401FD0113BF337E2ACC3BEE4A7CB7936BEE043F5F53B754A195502'
$file = Join-Path $env:TEMP 'tev-installer.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