أوامر لتثبيت برنامج Mozilla Thunderbird (ca) دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو 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 160.0.exe" /S /PreventRebootRequired=trueمجلد مخصص
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird-ca- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 160.0 (x64 ca)
32 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=trueمجلد مخصص
"Thunderbird Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-thunderbird-ca- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 160.0 (x86 ca)
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-mozilla-thunderbird-ca.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/160.0/win64/ca/Thunderbird%20Setup%20160.0.exe'
$sha256 = '948DC51170C114861D92AB3752D24EC1588A824EB5C43355118DF1D4799C9B80'
$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-ca.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/160.0/win32/ca/Thunderbird%20Setup%20160.0.exe'
$sha256 = 'D411C00CBEFECE2FAA487E3A359D0903667E754D91F6D81BF9C00528F9526936'
$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