Kommandoer til at installere NetAssistant uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id SunJary.NetAssistant -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SunJary.NetAssistant -e --silentwinget uninstall --id SunJary.NetAssistant -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
netassistant-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
netassistant-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\netassistant"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-netassistant.ps1
$url = 'https://github.com/SunJary/NetAssistant/releases/download/v1.5.0/netassistant-windows-x86_64-setup.exe'
$sha256 = '059854705342946774E6E495BEBA380974A23CCCE2A720A1FB31F20BD87D2FA2'
$file = Join-Path $env:TEMP 'netassistant-windows-x86_64-setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait