أوامر لتثبيت برنامج Unity DevOps Version Control دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Codice.PlasticSCM.Enterprise -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Codice.PlasticSCM.Enterprise -e --silentwinget uninstall --id Codice.PlasticSCM.Enterprise -e --silentحسب المثبّت
32 بت · EXE · جميع المستخدمين
التثبيت الصامت
unity-vcs-on-prem-full-11.0.16.8906-win.exe --mode unattended --unattendedmodeui nonePowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-unity-devops-version-control.ps1
$url = 'https://d26z97tczqnlef.cloudfront.net/releases/11.0.16.8906/plasticscm/windows/unity-vcs-on-prem-full-11.0.16.8906-win.exe'
$sha256 = '1EFF49A72ADCDD9B1CCAF2D24A5E7B4E280B6362249CB1B897411EB77704D509'
$file = Join-Path $env:TEMP 'unity-vcs-on-prem-full-11.0.16.8906-win.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 '--mode unattended --unattendedmodeui none' -Wait