Commands for installing SUMO 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 EclipseFoundation.SUMO -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EclipseFoundation.SUMO -e --silentwinget uninstall --id EclipseFoundation.SUMO -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i sumo-win64-1.28.0.msi /qn /norestartWrite a log
msiexec /i sumo-win64-1.28.0.msi /qn /norestart /l*v "%TEMP%\sumo-install.log"Uninstall
msiexec /x {1E4C72FE-6C8E-4E3D-9FD4-F5E343335B4F} /qn /norestart- MSI product code
- {1E4C72FE-6C8E-4E3D-9FD4-F5E343335B4F}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1E4C72FE-6C8E-4E3D-9FD4-F5E343335B4F}
- UpgradeCode
- {A764BC4F-2B15-11E1-9E7E-028037EC0200}
- Install folder
- %ProgramFiles(x86)%/SUMO
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-sumo.ps1
$url = 'https://sumo.dlr.de/releases/1.28.0/sumo-win64-1.28.0.msi'
$sha256 = '0146E49EE1E0234976C61104C86A0B5E45D6119C768CA8054E142520D6BD1EDF'
$file = Join-Path $env:TEMP 'sumo-win64-1.28.0.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