أوامر لتثبيت برنامج DivoomCli دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id r12f.DivoomCli -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id r12f.DivoomCli -e --silentwinget uninstall --id r12f.DivoomCli -e --silentحسب المثبّت
64 بت · MSIX
التثبيت الصامت
Add-AppxPackage -Path divoom-cli.0.1.42.windows.x64.msixإلغاء التثبيت
Get-AppxPackage -Name R12f.R12f.DivoomCli | Remove-AppxPackageARM64 · MSIX
التثبيت الصامت
Add-AppxPackage -Path divoom-cli.0.1.42.windows.arm64.msixإلغاء التثبيت
Get-AppxPackage -Name R12f.R12f.DivoomCli | Remove-AppxPackage32 بت · MSIX
التثبيت الصامت
Add-AppxPackage -Path divoom-cli.0.1.42.windows.x86.msixإلغاء التثبيت
Get-AppxPackage -Name R12f.R12f.DivoomCli | Remove-AppxPackagePowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-divoomcli.ps1
$url = 'https://github.com/r12f/divoom/releases/download/0.1.42/divoom-cli.0.1.42.windows.x64.msix'
$sha256 = '4BBC5F029E36C2B59D1784D0162E21676C2596209B1B6D0D7515189642836D4D'
$file = Join-Path $env:TEMP 'divoom-cli.0.1.42.windows.x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-divoomcli.ps1
$url = 'https://github.com/r12f/divoom/releases/download/0.1.42/divoom-cli.0.1.42.windows.arm64.msix'
$sha256 = '20EE33B7B24EAEF967DCCB0DEE19B05C1CFF3119A5ED16593DA245D24B968CAD'
$file = Join-Path $env:TEMP 'divoom-cli.0.1.42.windows.arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-divoomcli.ps1
$url = 'https://github.com/r12f/divoom/releases/download/0.1.42/divoom-cli.0.1.42.windows.x86.msix'
$sha256 = 'E74755437B3F00FF586B055D744B8639B76257BF3ADAF1014585D2BE0283DE73'
$file = Join-Path $env:TEMP 'divoom-cli.0.1.42.windows.x86.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file