أوامر لتثبيت برنامج Fount دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id BeetleBot.Fount -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BeetleBot.Fount -e --silentwinget uninstall --id BeetleBot.Fount -e --silentحسب المثبّت
64 بت · MSI · المستخدم الحالي · en-US
التثبيت الصامت
msiexec /i Fount-Windows-Installer.msi /qn /norestartكتابة ملف سجل
msiexec /i Fount-Windows-Installer.msi /qn /norestart /l*v "%TEMP%\fount-install.log"إلغاء التثبيت
msiexec /x {DF1DAD9B-EC42-49A1-AB81-78481E2BB302} /qn /norestart- رمز منتج MSI
- {DF1DAD9B-EC42-49A1-AB81-78481E2BB302}
- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DF1DAD9B-EC42-49A1-AB81-78481E2BB302}
- UpgradeCode
- {6E1E4F2B-D7B2-4E8B-B6C8-1E9D7C3F4D5E}
- مجلد التثبيت
- %LocalAppData%/Fount
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-fount.ps1
$url = 'https://github.com/BeetleBot/FountCLI/releases/download/v0.9.2/Fount-Windows-Installer.msi'
$sha256 = '2753EEC12626AE6990FA4EE73F5F0EADD770D2ED9FA2916EF0F786CAF2568DC5'
$file = Join-Path $env:TEMP 'Fount-Windows-Installer.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait