Kommandon för att installera Virtual Radar Server utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id AndrewWhewell.VirtualRadarServer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AndrewWhewell.VirtualRadarServer -e --silentwinget uninstall --id AndrewWhewell.VirtualRadarServer -e --silentPer installationsfil
64-bitars · EXE (Inno Setup)
Tyst installation
VirtualRadarSetup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
VirtualRadarSetup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\virtual-radar-server"32-bitars · EXE (Inno Setup)
Tyst installation
VirtualRadarSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
VirtualRadarSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\virtual-radar-server"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-virtual-radar-server.ps1
$url = 'https://www.virtualradarserver.co.uk/Files/VirtualRadarSetup-x64.exe'
$sha256 = '27A911B62C9D7704777AE780321869BE799C79F801F59CFA623E07E0C2215D0D'
$file = Join-Path $env:TEMP 'VirtualRadarSetup-x64.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 install-virtual-radar-server.ps1
$url = 'https://www.virtualradarserver.co.uk/Files/VirtualRadarSetup.exe'
$sha256 = '02CB721766B8D2ADEBEB773A168FBAC12619EC275F4C696BF80CB1AFC273E071'
$file = Join-Path $env:TEMP 'VirtualRadarSetup.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