Kommandon för att installera BeeStation 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 Synology.BeeStation -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Synology.BeeStation -e --silentwinget uninstall --id Synology.BeeStation -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
BeeStation-1.4.3-0675.exe /S /nolaunchEgen mapp
BeeStation-1.4.3-0675.exe /S /nolaunch /D=C:\Apps\beestation- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ff788799-daf8-5751-a74d-cb3986014e5a
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-beestation.ps1
$url = 'https://global.synologydownload.com/download/Utility/BeeStationClient/1.4.3-0675/Windows/BeeStation-1.4.3-0675.exe'
$sha256 = '7FE10B61B56707622D3AE183ACFC5D565A8E124125B2E75FE3F4262E6D1E844C'
$file = Join-Path $env:TEMP 'BeeStation-1.4.3-0675.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 /nolaunch' -Wait