أوامر لتثبيت برنامج agentty دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id agentty.agentty -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id agentty.agentty -e --silentwinget uninstall --id agentty.agentty -e --silentحسب المثبّت
64 بت · MSI · المستخدم الحالي · en-US
التثبيت الصامت
msiexec /i agentty-windows-x86_64.msi /qn /norestartكتابة ملف سجل
msiexec /i agentty-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\agentty-install.log"إلغاء التثبيت
msiexec /x {55F0B6C5-8A3D-405D-99D9-2056FC4742D3} /qn /norestart- رمز منتج MSI
- {55F0B6C5-8A3D-405D-99D9-2056FC4742D3}
- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{55F0B6C5-8A3D-405D-99D9-2056FC4742D3}
- UpgradeCode
- {6F3A2C18-9E4B-4D27-8A1E-7C5B2D0F9A41}
- مجلد التثبيت
- %LocalAppData%/Programs/agentty
- DisplayVersion
- 0.9.35
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-agentty.ps1
$url = 'https://github.com/agentty-org/agentty/releases/download/v0.9.35/agentty-windows-x86_64.msi'
$sha256 = '984F8C3157FC2C8416FD8CB19B8E5BF89B1CF252770D965485A9FE5434753728'
$file = Join-Path $env:TEMP 'agentty-windows-x86_64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait