Ordres per instal·lar Sylpheed E-Mail Client sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 instal·lador
32 bits · EXE (NSIS) · en-US
Instal·lació silenciosa
Sylpheed-3.7_setup.exe /SUna altra carpeta
Sylpheed-3.7_setup.exe /S /D=C:\Apps\sylpheed-e-mail-clientPowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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