Kommandoer til at installere DeaDBeeF 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 DeaDBeeF.DeaDBeeF -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeaDBeeF.DeaDBeeF -e --silentwinget uninstall --id DeaDBeeF.DeaDBeeF -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger · en-US
Lydløs installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\deadbeef"- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4E5B405A-0184-4256-B305-5B57F71B6093}_is1
64-bit · EXE (Inno Setup) · Alle brugere · en-US
Lydløs installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\deadbeef"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4E5B405A-0184-4256-B305-5B57F71B6093}_is1
- Installationsmappe
- %ProgramFiles%\DeaDBeeF
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-deadbeef.ps1
$url = 'https://sourceforge.net/projects/deadbeef/files/travis/windows/1.10.0/deadbeef-1.10.0-windows-x86_64.exe/download'
$sha256 = 'A97DE1941145DAAE62695782F60821FE15A09260E3654044FC42944BC185BFBC'
$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 install-deadbeef.ps1
$url = 'https://sourceforge.net/projects/deadbeef/files/travis/windows/1.10.0/deadbeef-1.10.0-windows-x86_64.exe/download'
$sha256 = 'A97DE1941145DAAE62695782F60821FE15A09260E3654044FC42944BC185BFBC'
$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