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