Kommandoer til at installere OpenBeach 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 Lucanepa.OpenBeach -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Lucanepa.OpenBeach -e --silentwinget uninstall --id Lucanepa.OpenBeach -e --silentPr. installationsfil
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
OpenBeach_26.11.0_x64-setup.exe /SEgen mappe
OpenBeach_26.11.0_x64-setup.exe /S /D=C:\Apps\openbeach- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenBeach
- Installationsmappe
- %ProgramFiles%\OpenBeach
- DisplayVersion
- 26.11.0
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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