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