أوامر لتثبيت برنامج OrgCharting دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id EdrawSoft.OrgCharting.CN -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EdrawSoft.OrgCharting.CN -e --silentwinget uninstall --id EdrawSoft.OrgCharting.CN -e --silentحسب المثبّت
32 بت · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
orgcharting-cn.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
orgcharting-cn.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\orgcharting-edrawsoft"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\亿图组织架构管理软件 OrgCharting_is1
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-orgcharting-edrawsoft.ps1
$url = 'https://www.edrawsoft.cn/2download/orgcharting-cn.exe'
$sha256 = '4C4BB6F4F014072EAE82F560321F0EACE6C669E82F0D253D556CA3CF7DA8A784'
$file = Join-Path $env:TEMP 'orgcharting-cn.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