أوامر لتثبيت برنامج SecondLoop دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id SecondLoop.SecondLoop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SecondLoop.SecondLoop -e --silentwinget uninstall --id SecondLoop.SecondLoop -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i SecondLoop-win.msi /qn /norestartكتابة ملف سجل
msiexec /i SecondLoop-win.msi /qn /norestart /l*v "%TEMP%\secondloop-install.log"إلغاء التثبيت
msiexec /x {7EAB3CF4-1471-4874-8B21-EE2FAE9F973B} /qn /norestart- رمز منتج MSI
- {7EAB3CF4-1471-4874-8B21-EE2FAE9F973B}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7EAB3CF4-1471-4874-8B21-EE2FAE9F973B}
- UpgradeCode
- {8B5A0942-79D3-4B5A-A4E5-3FB906DA63A1}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-secondloop.ps1
$url = 'https://github.com/dale0525/SecondLoop/releases/download/v1.33.0/SecondLoop-win.msi'
$sha256 = '77898EB4AADE325E775ED3FB2388B1A8959707F93243DC9D2E2EC29F98AF76FA'
$file = Join-Path $env:TEMP 'SecondLoop-win.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