Kommandon för att installera BeeBEEP 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 BeeBEEP.BeeBEEP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BeeBEEP.BeeBEEP -e --silentwinget uninstall --id BeeBEEP.BeeBEEP -e --silentPer installationsfil
64-bitars · EXE (Inno Setup)
Tyst installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\beebeep"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-beebeep.ps1
$url = 'https://sourceforge.net/projects/beebeep/files/Windows/beebeep-setup-5.8.6.exe/download'
$sha256 = '31138CFD21D05D7E967B2397B0694B6CB7B810838A381EC13A3FFC5A358C1526'
$file = Join-Path $env:TEMP 'download'
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