คำสั่งสำหรับติดตั้ง Mozilla Thunderbird (id) โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Mozilla.Thunderbird.id -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Thunderbird.id -e --silentwinget uninstall --id Mozilla.Thunderbird.id -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Thunderbird Setup 161.0.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Thunderbird Setup 161.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird-id- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 161.0 (x64 id)
32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Thunderbird Setup 161.0.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Thunderbird Setup 161.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird-id- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 161.0 (x86 id)
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-mozilla-thunderbird-id.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/161.0/win64/id/Thunderbird%20Setup%20161.0.exe'
$sha256 = '89874C4B4D9FDA21249743ED72AECF50F5716F026ED9F5FB9E645BE9902AF4A7'
$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-id.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/161.0/win32/id/Thunderbird%20Setup%20161.0.exe'
$sha256 = '2A9DB663242B6E6264693DBF85557DA0692B0959B2CFBA11A233513BA7D6F19B'
$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