คำสั่งสำหรับติดตั้ง agentty โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ 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บันทึกไฟล์ log
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