====== GLPI: Packages ====== ===== Packages ===== ==== 7-Zip ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : 7-Zip - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Commande === - msiexec /qn /norestart /i 7z1805-x64.msi ==== Access Runtime 2010 ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Microsoft Access Runtime - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === Fichiers : access2010.zip (fichier zip fait des commandes ci-dessous) - Télécharger le fichier https://www.microsoft.com/fr-be/download/details.aspx?id=10910 - Extraire les fichiers setup.exe c:\accessruntime2010 - Créer un fichier xml avec les données suivantes - Zipper les fichiers extraits et le fichier xml ensemble dans access2010.zip === Commandes === - setup.exe /config config.xml ==== Acrobat Reader DC ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Adobe Acrobat Reader - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Commandes === - wmic product where "name like 'Adobe Acrobat Reader%%'" call uninstall - AcroRdrDC1801120040_fr_FR.exe /sAll ==== Anydesk ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Adobe Anydesk makeITsimple - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Commandes === - msiexec /qn /norestart /i AnyDesk.msi ==== BeID Middleware ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Belgium e-ID Middleware - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - fedict_codesiging.cer (certificat à extraire d'un poste où le logiciel a déjà été installé) - beidmw_64_4.2.8.msi === Commandes === - certutil -addstore TrustedPublisher fedict_codesiging.cer - msiexec /i beidmw_64_4.2.8.msi /quiet /norestart ==== BeID Viewer ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Belgium e-ID viewer - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - beidviewer_4.3.6.msi === Commandes === - msiexec /qn /i beidviewer_4.3.6.msi ==== doPDF ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : doPDF - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - dopdf-full.exe === Commandes === - dopdf-full.exe -silent ==== Eset ESET Management Agent ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : ESET Management Agent - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - agent_x64.msi - install_config.ini (à générer sur la console d’administration GPO/SCCM SCript) === Commandes === - msiexec /qn /i agent_x64.msi ==== Far Manager ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Far Manager - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - Far30b5151.x64.20180227.msi === Commandes === - msiexec /qn /i Far30b5151.x64.20180227.msi ==== Firefox ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Firefox - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - Firefox Setup 60.0.1.exe - policies.json { "policies": { "DontCheckDefaultBrowser": true, "Certificates": { "ImportEnterpriseRoots": true }, "Homepage": { "URL": "http://google.be/", "Locked": true, "StartPage": "homepage" } } } === Commandes === - "Firefox Setup 60.0.1.exe" -ms - Copier : from **policies.json** to **C:\Program Files\Mozilla Firefox\distribution\policies.json** (name pas nécessaire) - Copier : from **mozilla.cfg** to **C:\Program Files\Mozilla Firefox\mozilla.cfg** (name pas nécessaire) ==== Flash NPAPI (firefox) ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Adobe Flash Player - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - install_flash_player.exe === Commandes === - taskkill /F /IM Firefox.exe - install_flash_player.exe -install -au 2 ==== Fusioninventory Agent (Mise à jour) ==== La mise à jour de l'agent ne peut pas être initié par lui-même. L'alternative trouvée est de créer une tâche planifiée qui mettra à jour l'agent. === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Fusioninventory - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - fusioninventory-agent_windows-x64_2.5.1.exe - sysrun.xml (fichier export des tâches planifiées) 2019-09-02T14:11:33 MAKEITSIMPLE\Administrator \sysrun PT1H false 2019-09-02T14:11:00 true S-1-5-18 LeastPrivilege IgnoreNew true true true false false true false true true false false false PT72H 7 C:\windows\temp\fusioninventory-agent_windows-x64_2.5.1.exe /no-start-menu /installtype=from-current-config /acceptlicense /S del C:\windows\temp\fusioninventory-agent_windows-x64_2.5.1.exe schtasks /delete /tn sysrun /f === Commandes === - Copier from **fusioninventory-agent_windows-x64_2.5.1.exe** to **c:\windows\temp** - schtasks /tn sysrun /create /XML sysrun.xml ==== The Gimp ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Gimp - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - gimp-2.8.22-setup.exe === Commandes === - gimp-2.8.22-setup.exe /VERYSILENT /NORESTART ==== Google Chrome (enterprise) ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Google Chrome - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - Télécharger le fichier https://cloud.google.com/chrome-enterprise/browser/download/?hl=fr - GoogleChromeStandaloneEnterprise64.msi === Commandes === - msiexec /qn /norestart /i GoogleChromeStandaloneEnterprise64.msi ==== Libreoffice ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : LibreOffice - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - LibreOffice_5.4.6_Win_x64.msi === Commandes === - msiexec /qn /i LibreOffice_5.4.6_Win_x64.msi SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 REGISTER_ALL_MSO_TYPES=1 REBOOTYESNO=No ALLUSERS=1 CREATEDESKTOPLINK=1 ISCHECKFORPRODUCTUPDATES=0 ==== OpenJDK ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET Edition Systeme d’exploitation est « Professionnel » - ET PAS – Logiciel – Caractéristiques – Nom – Contient : AdoptOpenJDK - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi === Commandes === - wmic product where "name like 'Java 8%%'" call uninstall - msiexec /qn /i OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi INSTALLLEVEL=3 ==== OemInfo (détails du support dans le menu System) ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Oeminfo - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - Image oemlogo.bmp - Faire un fichier bat @echo off reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation" /v "Manufacturer" /d "make IT simple" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation" /v "SupportPhone" /d "+32-473-349777" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation" /v "SupportHours" /d "24/24h 7/7d" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation" /v "SupportURL" /d "http://www.makeitsimple.be" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation" /v "Logo" /d "c:\windows\oemlogo.bmp" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oeminfo" /v "DisplayName" /d "Oeminfo" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oeminfo" /v "DisplayVersion" /d "1.0" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oeminfo" /v "Publisher" /d "makeITsimple" /t REG_SZ /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oeminfo" /v "UninstallString" /d "c:\windows\system32\cmd.exe" /t REG_SZ /f === Commandes === - oeminfo.bat - Copier : from **oemlogo.bmp** to **C:\windows\oemlogo.bmp** (name pas nécessaire) ==== Office 2016 SMB ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Microsoft Office Famille et Petite Entreprise 2016 - fr-fr - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - Telécharger https://www.microsoft.com/en-us/download/details.aspx?id=49117&WT - Configurer un fichier install.xml (soit prendre ci-dessous, soit en générer un) - setup /download install.xml - Après quelques temps, l'installeur aura préparé les fichiers. Zipper le tout dans office2016.zip - Copier le zip sur le serveur si celà dépasse la taille autorisée ( /var/www/glpi/files/_plugins/fusioninventory/upload) === Commandes === - Office2016\setup.exe /configure Office2016\install.xml ==== Putty ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : PuTTY release - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » === Package === - putty-64bit-0.70-installer.msi === Commandes === - msiexec /qn /i putty-64bit-0.70-installer.msi ==== RSAT ==== === Conditions === - Système d’exploitation – nom - est : Windows - ET PAS – Logiciel – Caractéristiques – Nom – Contient : KB2693643 - ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible » - Un check supplémentaire sur la présence de Windows 10 est à prévoir si le parc n'est pas uniforme. === Package === - WindowsTH-RSAT_WS_1803-x64.msui === Commandes === - wusa WindowsTH-RSAT_WS_1709-x64.msu /quiet ===== Sources ===== ==== Office 2016 ==== * https://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html * https://config.office.com/ * https://prajwaldesai.com/deploy-office-2016-using-click-to-run-deployment-tool/ ===== Astuces ===== ==== Stockage ==== * Les fichiers uploadés se retrouvent dans /var/www/glpi/files/_plugins/fusioninventory/files/repository… * Ils sont renommés, pour faire le lien, il faut se rendre dans /var/www/glpi/files/_plugins/fusioninventory/files/manifest, ouvrir le fichier identifié par le Hash de la page du package puis ouvrir le repository correspondant * Pour uploader un fichier manuellement (si trop volumineux), le transférer sur /var/www/glpi/files/_plugins/fusioninventory/upload