أوامر لتثبيت برنامج AI 安全卫士 دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Technicalflight.AiGuard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Technicalflight.AiGuard -e --silentwinget uninstall --id Technicalflight.AiGuard -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
AI._0.1.1_x64-setup.exe /Sمجلد مخصص
AI._0.1.1_x64-setup.exe /S /D=C:\Apps\ai-technicalflight- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AI 安全卫士
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i AI._0.1.1_x64_zh-CN.msi /qn /norestartكتابة ملف سجل
msiexec /i AI._0.1.1_x64_zh-CN.msi /qn /norestart /l*v "%TEMP%\ai-technicalflight-install.log"إلغاء التثبيت
msiexec /x {225449BB-135B-4992-BCA9-F6683A5CB226} /qn /norestart- رمز منتج MSI
- {225449BB-135B-4992-BCA9-F6683A5CB226}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{225449BB-135B-4992-BCA9-F6683A5CB226}
- UpgradeCode
- {92EB4B3F-719D-5C29-AE8D-08B85A1AC44E}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-ai-technicalflight.ps1
$url = 'https://github.com/Technicalflight/AiGuard/releases/download/v0.1.1/AI._0.1.1_x64-setup.exe'
$sha256 = '496095DB691CCF9329835CFDA1306F7FE560AFA47D5169C2D1CEF25B1E6E17DE'
$file = Join-Path $env:TEMP 'AI._0.1.1_x64-setup.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' -Wait install-ai-technicalflight.ps1
$url = 'https://github.com/Technicalflight/AiGuard/releases/download/v0.1.1/AI._0.1.1_x64_zh-CN.msi'
$sha256 = '5D8B4171BCFD898E1AA80F2AE70A168A6F8FC10002ABFE529460680A3B999255'
$file = Join-Path $env:TEMP 'AI._0.1.1_x64_zh-CN.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