أوامر لتثبيت برنامج DeepCool دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id DeepCool.DeepCool -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeepCool.DeepCool -e --silentwinget uninstall --id DeepCool.DeepCool -e --silentحسب المثبّت
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
DeepCool-1.2.5-setup.exe /Sمجلد مخصص
DeepCool-1.2.5-setup.exe /S /D=C:\Apps\deepcool- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7da82a35-fc51-5510-93f2-d27b1f8d088c
64 بت · EXE (NSIS) · جميع المستخدمين · zh-CN
التثبيت الصامت
DeepCool-1.2.5-setup.exe /Sمجلد مخصص
DeepCool-1.2.5-setup.exe /S /D=C:\Apps\deepcool- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7da82a35-fc51-5510-93f2-d27b1f8d088c
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-deepcool.ps1
$url = 'https://deepcool.io/downloads/DeepCool-1.2.5-setup.exe'
$sha256 = '4B8D6D8141D6D974D807843FC5822F81F76B11C9A46D5E24BAACCBD547E80776'
$file = Join-Path $env:TEMP 'DeepCool-1.2.5-setup.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 install-deepcool.ps1
$url = 'https://deepcool.crafterwork.cn/downloads/DeepCool-1.2.5-setup.exe'
$sha256 = '4B8D6D8141D6D974D807843FC5822F81F76B11C9A46D5E24BAACCBD547E80776'
$file = Join-Path $env:TEMP 'DeepCool-1.2.5-setup.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