أوامر لتثبيت برنامج Utsu دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id titinko.utsu -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id titinko.utsu -e --silentwinget uninstall --id titinko.utsu -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i Utsu-0.4.5.msi /qn /norestartكتابة ملف سجل
msiexec /i Utsu-0.4.5.msi /qn /norestart /l*v "%TEMP%\utsu-install.log"إلغاء التثبيت
msiexec /x {6C7D956C-EABE-3960-98E7-F8968D5936DE} /qn /norestart- رمز منتج MSI
- {6C7D956C-EABE-3960-98E7-F8968D5936DE}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6C7D956C-EABE-3960-98E7-F8968D5936DE}
- UpgradeCode
- {4055DBD3-6DB2-396F-8F3C-7D5BEC37B8CD}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-utsu.ps1
$url = 'https://github.com/titinko/utsu/releases/download/v0.4.5/Utsu-0.4.5.msi'
$sha256 = 'DB539E9AE85719C3DE751CC24B3274F47C767F9C22A0176517535804F2B05E4A'
$file = Join-Path $env:TEMP 'Utsu-0.4.5.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