Commands for installing Netron 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 LutzRoeder.Netron -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LutzRoeder.Netron -e --silentwinget uninstall --id LutzRoeder.Netron -e --silentBy installer
64-bit · EXE (NSIS) · en-US
Silent install
Netron-Setup-9.3.8.exe /SCustom folder
Netron-Setup-9.3.8.exe /S /D=C:\Apps\netron- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6bb3dad2-9776-5709-9803-b33f74810dce
- DisplayVersion
- 9.3.8
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-netron.ps1
$url = 'https://github.com/lutzroeder/netron/releases/download/v9.3.8/Netron-Setup-9.3.8.exe'
$sha256 = '9F3D4D53A1783DFB38CABFEF10F7B3D395039CE752921211F93C1B8A0ABE8C9D'
$file = Join-Path $env:TEMP 'Netron-Setup-9.3.8.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 '/S' -Wait