Befehle, um GLPI Agent ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id GLPI-Project.GLPI-Agent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GLPI-Project.GLPI-Agent -e --silentwinget uninstall --id GLPI-Project.GLPI-Agent -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i GLPI-Agent-1.21-x64.msi /qn /norestartProtokoll schreiben
msiexec /i GLPI-Agent-1.21-x64.msi /qn /norestart /l*v "%TEMP%\glpi-agent-install.log"Deinstallation
msiexec /x {D7BB78F6-6BF3-1014-A20E-D54D53512E3B} /qn /norestart- MSI-Produktcode
- {D7BB78F6-6BF3-1014-A20E-D54D53512E3B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D7BB78F6-6BF3-1014-A20E-D54D53512E3B}
- UpgradeCode
- {0DEF72A8-E5EE-4116-97DC-753718E19CD5}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-glpi-agent.ps1
$url = 'https://github.com/glpi-project/glpi-agent/releases/download/1.21/GLPI-Agent-1.21-x64.msi'
$sha256 = '152BD777ABC5A6D0E8A1F163AF25C6B8C166F47895D115076B480863A5F0DE6C'
$file = Join-Path $env:TEMP 'GLPI-Agent-1.21-x64.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