أوامر لتثبيت برنامج KCPPOS plus دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id NHNKCP.KCPPOSplus -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NHNKCP.KCPPOSplus -e --silentwinget uninstall --id NHNKCP.KCPPOSplus -e --silentحسب المثبّت
64 بت · EXE (Inno Setup)
التثبيت الصامت
KCPPosplusSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
KCPPosplusSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\kcppos-plus"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KCPPOS plus_is1
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-kcppos-plus.ps1
$url = 'https://rl5gkllrg.toastcdn.net/cherryforce/static/setup/KCPPosplusSetup.exe'
$sha256 = '8504305F44E0182D9D466BD560CE7C8EF6F3F4A8BB4FF4DB85E8C66E2F79F853'
$file = Join-Path $env:TEMP 'KCPPosplusSetup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait