Kommandon för att installera Mozilla Thunderbird (cs) 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.cs -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Thunderbird.cs -e --silentwinget uninstall --id Mozilla.Thunderbird.cs -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-cs- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 161.0 (x64 cs)
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-cs- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 161.0 (x86 cs)
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-mozilla-thunderbird-cs.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/161.0/win64/cs/Thunderbird%20Setup%20161.0.exe'
$sha256 = '90C4A38B578D4E6934940BF561EA4B7A19457E9E5711A246A96BDB3131BA522F'
$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-cs.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/161.0/win32/cs/Thunderbird%20Setup%20161.0.exe'
$sha256 = '8ABBFCF4700AF1969A8334210D6437DFE43187E6E8767B0721942A441CAC2770'
$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