Kommandon för att installera Sylpheed E-Mail Client 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 Sylpheed.Sylpheed -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Sylpheed.Sylpheed -e --silentwinget uninstall --id Sylpheed.Sylpheed -e --silentPer installationsfil
32-bitars · EXE (NSIS) · en-US
Tyst installation
Sylpheed-3.7_setup.exe /SEgen mapp
Sylpheed-3.7_setup.exe /S /D=C:\Apps\sylpheed-e-mail-clientPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-sylpheed-e-mail-client.ps1
$url = 'https://sylpheed.sraoss.jp/sylpheed/win32/Sylpheed-3.7_setup.exe'
$sha256 = '4EADFC0B45A02BE5C6142B1DB7843563EEB6BAC567BA88CF4E14CBE399B4C245'
$file = Join-Path $env:TEMP 'Sylpheed-3.7_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