คำสั่งสำหรับติดตั้ง Mozilla Thunderbird โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Thunderbird Setup 158.0.1.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Thunderbird Setup 158.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 158.0.1 (x64 en-US)
32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Thunderbird Setup 158.0.1.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Thunderbird Setup 158.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 158.0.1 (x86 en-US)
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-mozilla-thunderbird.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/158.0.1/win64/en-US/Thunderbird%20Setup%20158.0.1.exe'
$sha256 = '980331D65CB00D965F911E5F7E3E058C22B5F72A98853160A6D000C79FCB5DA6'
$file = Join-Path $env:TEMP 'Thunderbird Setup 158.0.1.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/158.0.1/win32/en-US/Thunderbird%20Setup%20158.0.1.exe'
$sha256 = 'F45B5E3ECBF1DE13C3F70BFBB6E0C3620B33B97F6BAA81144C7D3C2429945470'
$file = Join-Path $env:TEMP 'Thunderbird Setup 158.0.1.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