Commands for installing SerialTool 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 SerialTool.SerialTool -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SerialTool.SerialTool -e --silentwinget uninstall --id SerialTool.SerialTool -e --silentBy installer
64-bit · ZIP · All users
Silent install
SerialTool_3.3.0_Windows_Setup.zip /exenoui /qUninstall
msiexec /x {C3A2649B-BCB8-4B31-863B-D1C398C71F8C} /qn /norestart- MSI product code
- {C3A2649B-BCB8-4B31-863B-D1C398C71F8C}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C3A2649B-BCB8-4B31-863B-D1C398C71F8C}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-serialtool.ps1
$url = 'https://www.serialtool.com/dist/SerialTool_3.3.0_Windows_Setup.zip'
$sha256 = '3F59300D14604BB2FF1C9B925D8B5279A0538733B0CD1FE531B04A2C6A6FF1D4'
$file = Join-Path $env:TEMP 'SerialTool_3.3.0_Windows_Setup.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/exenoui /q' -Wait