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