Kommandon för att installera Plexamp 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 Plex.Plexamp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Plex.Plexamp -e --silentwinget uninstall --id Plex.Plexamp -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare · en-US
Tyst installation
Plexamp-4.50.20-x86_64-setup.exe /SEgen mapp
Plexamp-4.50.20-x86_64-setup.exe /S /D=C:\Apps\plexamp- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Plexamp
- Installationsmapp
- %LocalAppData%\Plexamp
- DisplayVersion
- 4.50.20
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-plexamp.ps1
$url = 'https://plexamp.plex.tv/desktop/Plexamp-4.50.20-x86_64-setup.exe'
$sha256 = 'C08B555090E437C2F97BA6D37C5BF68DFA1C2DBB0755488AF5BBE1AFE4DEF0F1'
$file = Join-Path $env:TEMP 'Plexamp-4.50.20-x86_64-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