Kommandon för att installera Mozilla Thunderbird 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 Mozilla.Thunderbird -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Thunderbird -e --silentwinget uninstall --id Mozilla.Thunderbird -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
"Thunderbird Setup 159.0.exe" /S /PreventRebootRequired=trueEgen mapp
"Thunderbird Setup 159.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 159.0 (x64 en-US)
32-bitars · EXE (NSIS) · Alla användare
Tyst installation
"Thunderbird Setup 159.0.exe" /S /PreventRebootRequired=trueEgen mapp
"Thunderbird Setup 159.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 159.0 (x86 en-US)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-mozilla-thunderbird.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/159.0/win64/en-US/Thunderbird%20Setup%20159.0.exe'
$sha256 = '70EAC5E244F67CB4FBE4386DA20F5287573233FC5139BCF0E8E522B61E4B013E'
$file = Join-Path $env:TEMP 'Thunderbird Setup 159.0.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 /PreventRebootRequired=true' -Wait install-mozilla-thunderbird.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/159.0/win32/en-US/Thunderbird%20Setup%20159.0.exe'
$sha256 = '6D96E3D193FB9E1E493954350702E8F5F455BA8786FABBBD21B7A44D595973D9'
$file = Join-Path $env:TEMP 'Thunderbird Setup 159.0.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 /PreventRebootRequired=true' -Wait