Commands for installing Servo 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 Servo.Servo -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Servo.Servo -e --silentwinget uninstall --id Servo.Servo -e --silentBy installer
64-bit · EXE (WiX Burn) · All users
Silent install
servo-x86_64-windows-msvc.exe /quiet /norestartUninstall
msiexec /x {4670FBD8-9522-4D9C-AB1A-15BD5EDAD3CC} /qn /norestart- MSI product code
- {4670FBD8-9522-4D9C-AB1A-15BD5EDAD3CC}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4670FBD8-9522-4D9C-AB1A-15BD5EDAD3CC}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-servo.ps1
$url = 'https://github.com/servo/servo/releases/download/v0.8.0/servo-x86_64-windows-msvc.exe'
$sha256 = '971C2C6BA6E3147EC32047D518047F2577BEF5FFE91CE43E56DEF49FB45752A8'
$file = Join-Path $env:TEMP 'servo-x86_64-windows-msvc.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait