Kommandon för att installera OpenBeach 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 Lucanepa.OpenBeach -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Lucanepa.OpenBeach -e --silentwinget uninstall --id Lucanepa.OpenBeach -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
OpenBeach_26.11.0_x64-setup.exe /SEgen mapp
OpenBeach_26.11.0_x64-setup.exe /S /D=C:\Apps\openbeach- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenBeach
- Installationsmapp
- %ProgramFiles%\OpenBeach
- DisplayVersion
- 26.11.0
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-openbeach.ps1
$url = 'https://github.com/Lucanepa/openvolley/releases/download/beach-desktop-v26.11.0/OpenBeach_26.11.0_x64-setup.exe'
$sha256 = '96593B39DF4AE900D3B805B28CDE1E5D540EC72D09F5D84B91FB4CAA051DB6D7'
$file = Join-Path $env:TEMP 'OpenBeach_26.11.0_x64-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 '/S' -Wait