Kommandon för att installera Mumble 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 Mumble.Mumble.Server -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mumble.Mumble.Server -e --silentwinget uninstall --id Mumble.Mumble.Server -e --silentPer installationsfil
64-bitars · EXE (WiX Burn) · Alla användare · en-US
Tyst installation
mumble_server-1.5.915.x64.exe /quiet /norestartAvinstallation
msiexec /x {5B53121F-AAB6-41A1-A886-25332F583C0E} /qn /norestart- MSI-produktkod
- {5B53121F-AAB6-41A1-A886-25332F583C0E}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5B53121F-AAB6-41A1-A886-25332F583C0E}
- UpgradeCode
- {03E9476F-0F75-4661-BFC9-A9DAEB23D3A0}
- Installationsmapp
- %ProgramFiles%\Mumble\server
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-mumble-server.ps1
$url = 'https://github.com/mumble-voip/mumble/releases/download/v1.5.915/mumble_server-1.5.915.x64.exe'
$sha256 = '6F249951A67BC54AB9292364B84EB1BC8C8A2F2F4A9E10E63034C86FC7E73119'
$file = Join-Path $env:TEMP 'mumble_server-1.5.915.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 '/quiet /norestart' -Wait