أوامر لتثبيت برنامج BoxPilot دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Glide01.BoxPilot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Glide01.BoxPilot -e --silentwinget uninstall --id Glide01.BoxPilot -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i box_pilot_gui-1.13.5-x86_64.msi /qn /norestartكتابة ملف سجل
msiexec /i box_pilot_gui-1.13.5-x86_64.msi /qn /norestart /l*v "%TEMP%\boxpilot-install.log"إلغاء التثبيت
msiexec /x {1DBABFAB-908E-4F70-8CEB-BE325C764EB7} /qn /norestart- رمز منتج MSI
- {1DBABFAB-908E-4F70-8CEB-BE325C764EB7}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1DBABFAB-908E-4F70-8CEB-BE325C764EB7}
- UpgradeCode
- {F7A8C9D1-2E3B-4F5A-6B7C-8D9E0F1A2B3C}
- مجلد التثبيت
- %ProgramFiles%/BoxPilot
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-boxpilot.ps1
$url = 'https://github.com/Glide01/BoxPilot/releases/download/v1.13.5/box_pilot_gui-1.13.5-x86_64.msi'
$sha256 = 'C79041FD6791703ED53E3AB28B27B6C51136393B80534596707DFF9F4B45451A'
$file = Join-Path $env:TEMP 'box_pilot_gui-1.13.5-x86_64.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