أوامر لتثبيت برنامج Aictionary دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id ahpxex.Aictionary -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ahpxex.Aictionary -e --silentwinget uninstall --id ahpxex.Aictionary -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i Aictionary-v3.5.0_windows_x86_64.msi /qn /norestartكتابة ملف سجل
msiexec /i Aictionary-v3.5.0_windows_x86_64.msi /qn /norestart /l*v "%TEMP%\aictionary-install.log"إلغاء التثبيت
msiexec /x {BE800E53-A79A-4075-9A89-E78A653D0FF8} /qn /norestart- رمز منتج MSI
- {BE800E53-A79A-4075-9A89-E78A653D0FF8}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BE800E53-A79A-4075-9A89-E78A653D0FF8}
- UpgradeCode
- {C6530D4A-3355-5CFA-BCBF-9CACCAD93BD7}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-aictionary.ps1
$url = 'https://github.com/ahpxex/Aictionary/releases/download/v3.5.0/Aictionary-v3.5.0_windows_x86_64.msi'
$sha256 = '367BEBC11EDA7F6AB7BF05AD778293A09D2992920603ECF17E4140434D927DC2'
$file = Join-Path $env:TEMP 'Aictionary-v3.5.0_windows_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