Outils pour utilisateurs

Outils du site


deploiement:glpi:packages

Ceci est une ancienne révision du document !


GLPI: Packages

Packages

7-Zip

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : 7-Zip
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Commande

  1. msiexec /qn /norestart /i 7z1805-x64.msi

Access Runtime 2010

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Microsoft Access Runtime
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

Fichiers : access2010.zip (fichier zip fait des commandes ci-dessous)

  1. Extraire les fichiers
    setup.exe c:\accessruntime2010
  2. Créer un fichier xml avec les données suivantes
    config.xml
    <Configuration Product="AccessRT">
    <Display Level="None" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
    <Logging Type="standard" Path="C:\Temp\" Template="Microsoft_Access_2010_Runtime_Setup(*).log" />
    <COMPANYNAME Value="MY COMPANY NAME" />
    <Setting Id="SETUP_REBOOT" Value="Suppress" />
    </Configuration>
  3. Zipper les fichiers extraits et le fichier xml ensemble dans access2010.zip

Commandes

  1. setup.exe /config config.xml

Acrobat Reader DC

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Adobe Acrobat Reader
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Commandes

  1. wmic product where "name like 'Adobe Acrobat Reader%%'" call uninstall
  2. AcroRdrDC1801120040_fr_FR.exe /sAll

Anydesk

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Adobe Anydesk makeITsimple
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Commandes

  1. msiexec /qn /norestart /i AnyDesk.msi

BeID Middleware

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Belgium e-ID Middleware
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. fedict_codesiging.cer (certificat à extraire d'un poste où le logiciel a déjà été installé)
  2. beidmw_64_4.2.8.msi

Commandes

  1. certutil -addstore TrustedPublisher fedict_codesiging.cer
  2. msiexec /i beidmw_64_4.2.8.msi /quiet /norestart

BeID Viewer

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Belgium e-ID viewer
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. beidviewer_4.3.6.msi

Commandes

  1. msiexec /qn /i beidviewer_4.3.6.msi 

doPDF

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : doPDF
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. dopdf-full.exe

Commandes

  1. dopdf-full.exe -silent 

Eset ESET Management Agent

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : ESET Management Agent
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. agent_x64.msi
  2. install_config.ini (à générer sur la console d’administration GPO/SCCM SCript)

Commandes

  1. msiexec /qn /i agent_x64.msi 

Far Manager

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Far Manager
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. Far30b5151.x64.20180227.msi

Commandes

  1. msiexec /qn /i Far30b5151.x64.20180227.msi

Firefox

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Firefox
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. Firefox Setup 60.0.1.exe
  2. policies.json
    policies.json
    {
      "policies": {
        "DontCheckDefaultBrowser": true
        "Certificates": {
          "ImportEnterpriseRoots": true
        }
        "Homepage": {
          "URL": "http://google.be/",
          "Locked": true,
          "Additional": ["http://www.makeitsimple.be/",
                         "http://example.edu/"],
          "StartPage": "homepage"
        }
      }
    }

Commandes

  1. "Firefox Setup 60.0.1.exe" -ms
  2. Copier : from policies.json to C:\Program Files\Mozilla Firefox\distribution\policies.json (name pas nécessaire)
  3. Copier : from mozilla.cfg to C:\Program Files\Mozilla Firefox\mozilla.cfg (name pas nécessaire)

Flash NPAPI (firefox)

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Adobe Flash Player
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. install_flash_player.exe

Commandes

  1. taskkill /F /IM Firefox.exe
  2. 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

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Fusioninventory
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. fusioninventory-agent_windows-x64_2.5.1.exe
  2. sysrun.xml (fichier export des tâches planifiées)
    sysrun.xml
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2019-09-02T14:11:33</Date>
        <Author>MAKEITSIMPLE\Administrator</Author>
        <URI>\sysrun</URI>
      </RegistrationInfo>
      <Triggers>
        <TimeTrigger>
          <Repetition>
            <Interval>PT1H</Interval>
            <StopAtDurationEnd>false</StopAtDurationEnd>
          </Repetition>
          <StartBoundary>2019-09-02T14:11:00</StartBoundary>
          <Enabled>true</Enabled>
        </TimeTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>LeastPrivilege</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>C:\windows\temp\fusioninventory-agent_windows-x64_2.5.1.exe</Command>
          <Arguments>/no-start-menu /installtype=from-current-config /acceptlicense /S</Arguments>
        </Exec>
        <Exec>
          <Command>del</Command>
          <Arguments>C:\windows\temp\fusioninventory-agent_windows-x64_2.5.1.exe</Arguments>
        </Exec>
        <Exec>
          <Command>schtasks</Command>
          <Arguments>/delete /tn sysrun /f</Arguments>
        </Exec>
      </Actions>
    </Task>

Commandes

  1. Copier from fusioninventory-agent_windows-x64_2.5.1.exe to c:\windows\temp
  2. schtasks /tn sysrun /create /XML sysrun.xml

The Gimp

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Gimp
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. gimp-2.8.22-setup.exe

Commandes

  1. gimp-2.8.22-setup.exe /VERYSILENT /NORESTART

Google Chrome (enterprise)

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Google Chrome
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. GoogleChromeStandaloneEnterprise64.msi

Commandes

  1. msiexec /qn /norestart /i GoogleChromeStandaloneEnterprise64.msi

Libreoffice

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : LibreOffice
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. LibreOffice_5.4.6_Win_x64.msi

Commandes

  1. 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

  1. Système d’exploitation – nom - est : Windows
  2. ET Edition Systeme d’exploitation est « Professionnel »
  3. ET PAS – Logiciel – Caractéristiques – Nom – Contient : AdoptOpenJDK
  4. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi

Commandes

  1. wmic product where "name like 'Java 8%%'" call uninstall
  2. 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

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Oeminfo
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. Image oemlogo.bmp
  2. Faire un fichier bat
    oeminfo.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

  1. oeminfo.bat
  2. Copier : from oemlogo.bmp to C:\windows\oemlogo.bmp (name pas nécessaire)

Office 2016 SMB

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : Microsoft Office Famille et Petite Entreprise 2016 - fr-fr
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. Configurer un fichier install.xml (soit prendre ci-dessous, soit en générer un)
    install.xml
    <Configuration>
        <Add OfficeClientEdition="64"  Branch="Current" >
        <Product ID="HomeBusinessRetail" >
          <Language ID="fr-fr" />
        </Product>
      </Add>
      <Updates Enabled="TRUE" Branch="Current" />
      <Display Level="None" AcceptEULA="TRUE" CompletionNotice="no" SuppressModal="yes" />
       <!--
      <Logging Path="c:\test2" />
      <Property Name="AUTOACTIVATE" Value="1" />  -->
    </Configuration>
  2. setup /download install.xml
  3. Après quelques temps, l'installeur aura préparé les fichiers. Zipper le tout dans office2016.zip
  4. Copier le zip sur le serveur si celà dépasse la taille autorisée ( /var/www/glpi/files/_plugins/fusioninventory/upload)

Commandes

  1. Office2016\setup.exe /configure Office2016\install.xml

Putty

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : PuTTY release
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »

Package

  1. putty-64bit-0.70-installer.msi

Commandes

  1. msiexec /qn /i putty-64bit-0.70-installer.msi

RSAT

Conditions

  1. Système d’exploitation – nom - est : Windows
  2. ET PAS – Logiciel – Caractéristiques – Nom – Contient : KB2693643
  3. ET – Logiciel – Version – Statut – N’est pas – « Mise à jour possible »
  4. Un check supplémentaire sur la présence de Windows 10 est à prévoir si le parc n'est pas uniforme.

Package

  1. WindowsTH-RSAT_WS_1803-x64.msui

Commandes

  1. wusa WindowsTH-RSAT_WS_1709-x64.msu /quiet

Sources

Office 2016

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
deploiement/glpi/packages.1594985132.txt.gz · Dernière modification : (modification externe)