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