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