Kommandon för att installera FlydigiSpaceStation 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 Flydigi.FlydigiSpaceStation -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Flydigi.FlydigiSpaceStation -e --silentwinget uninstall --id Flydigi.FlydigiSpaceStation -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
"Flydigi Space Station_setup_4.2.3.1.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
"Flydigi Space Station_setup_4.2.3.1.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\flydigispacestation"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5BAABD3D-CC88-4A56-9190-67236577AFA1}}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-flydigispacestation.ps1
$url = 'https://tencent-android.cdn.flydigi.com/PC/SpaceStation4.0/Flydigi%20Space%20Station_setup_4.2.3.1.exe'
$sha256 = '2569BC582AC2250362C020A17492BF54B5865E07B3E49D6B8B41E6991C794301'
$file = Join-Path $env:TEMP 'Flydigi Space Station_setup_4.2.3.1.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