Commands for installing interva 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 chaosweasl.interva -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id chaosweasl.interva -e --silentwinget uninstall --id chaosweasl.interva -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i interva_1.2.1_x64_en-US.msi /qn /norestartWrite a log
msiexec /i interva_1.2.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\interva-install.log"Uninstall
msiexec /x {332833D5-CE2E-4749-ACD8-A03C464FAC2D} /qn /norestart- MSI product code
- {332833D5-CE2E-4749-ACD8-A03C464FAC2D}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{332833D5-CE2E-4749-ACD8-A03C464FAC2D}
- UpgradeCode
- {A6E0A20C-F36C-526C-B801-BDB156DA8DE5}
- Install folder
- %ProgramFiles%\interva
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-interva.ps1
$url = 'https://github.com/chaosweasl/interva/releases/download/v1.2.1/interva_1.2.1_x64_en-US.msi'
$sha256 = 'AE67F68EE8E3516E10F4CC8615B75D1B1E01EBBB1FD93514A92EB960A526F33E'
$file = Join-Path $env:TEMP 'interva_1.2.1_x64_en-US.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