أوامر لتثبيت برنامج Visual Controls دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id AcuityBrands.VisualControls -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AcuityBrands.VisualControls -e --silentwinget uninstall --id AcuityBrands.VisualControls -e --silentحسب المثبّت
64 بت · ZIP · جميع المستخدمين
التثبيت الصامت
Download.aspx /quiet /norestartإلغاء التثبيت
msiexec /x {E1520DAF-BE0F-47FC-A12B-F319F77F2FEC} /qn /norestart- رمز منتج MSI
- {e1520daf-be0f-47fc-a12b-f319f77f2fec}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e1520daf-be0f-47fc-a12b-f319f77f2fec}
- UpgradeCode
- {7FD69ED7-722E-4AF3-B48B-81EDE198680E}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-visual-controls.ps1
$url = 'https://www.visual-3d.com/Tools/Download.aspx?file=vc-releases-production'
$sha256 = '79484F59292BA1DB98780D0CA68C31CCE8118519B50D6349833A68A96BCAD54F'
$file = Join-Path $env:TEMP 'Download.aspx'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait