أوامر لتثبيت برنامج Diffinity دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id TrueHumanDesign.Diffinity -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TrueHumanDesign.Diffinity -e --silentwinget uninstall --id TrueHumanDesign.Diffinity -e --silentحسب المثبّت
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
diffinityInstaller.exe /Sمجلد مخصص
diffinityInstaller.exe /S /D=C:\Apps\diffinity- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Diffinity
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-diffinity.ps1
$url = 'https://truehumandesign.se/download/diffinityInstaller.exe'
$sha256 = '53F2E76B4FFBF1F89D126E3C75C4D9B2F7E6A0950E58FB7B115B28D273BD1BCC'
$file = Join-Path $env:TEMP 'diffinityInstaller.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