أوامر لتثبيت برنامج Active Learning دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Mersive.SolsticeActiveLearning -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mersive.SolsticeActiveLearning -e --silentwinget uninstall --id Mersive.SolsticeActiveLearning -e --silentحسب المثبّت
32 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i ActiveLearning-1.4.msi /qn /norestartكتابة ملف سجل
msiexec /i ActiveLearning-1.4.msi /qn /norestart /l*v "%TEMP%\active-learning-install.log"إلغاء التثبيت
msiexec /x {3F111719-0EA2-421D-8F47-52ABEE7B59EE} /qn /norestart- رمز منتج MSI
- {3f111719-0ea2-421d-8f47-52abee7b59ee}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3f111719-0ea2-421d-8f47-52abee7b59ee}
- UpgradeCode
- {DCF9226A-14C5-4F71-B738-0B4605701ED5}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-active-learning.ps1
$url = 'https://mersive.com/downloads/ActiveLearning-1.4.msi'
$sha256 = 'F99BAF2DD41E1B6B7AF9B39BBAC1949726A5CD5A31E1F3DCACDA2560017F956D'
$file = Join-Path $env:TEMP 'ActiveLearning-1.4.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