Commands for installing Netsix 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 pulsardev.netsix -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pulsardev.netsix -e --silentwinget uninstall --id pulsardev.netsix -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
Netsix-Setup-1.0.0-alpha.6.exe /SCustom folder
Netsix-Setup-1.0.0-alpha.6.exe /S /D=C:\Apps\netsixPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-netsix.ps1
$url = 'https://github.com/pulsardev/netsix/releases/download/v1.0.0-alpha.6/Netsix-Setup-1.0.0-alpha.6.exe'
$sha256 = 'DB44B7F51C35433944C07FFE07BB5C68FBA3763B92C5A3771B1F934CC2C26FC3'
$file = Join-Path $env:TEMP 'Netsix-Setup-1.0.0-alpha.6.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