Outils pour utilisateurs

Outils du site


deploiement:glpi:packages

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
deploiement:glpi:packages [2019/11/09 18:04] rootdeploiement:glpi:packages [2021/06/20 09:40] (Version actuelle) – modification externe 127.0.0.1
Ligne 8: Ligne 8:
   - ET – Logiciel – Version – Statut – N’est pas –  « Mise à jour possible »   - ET – Logiciel – Version – Statut – N’est pas –  « Mise à jour possible »
 === Commande === === Commande ===
-  - msiexec /qn /norestart /i 7z1805-x64.msi+  - <code>msiexec /qn /norestart /i 7z1805-x64.msi</code>
  
  
Ligne 40: Ligne 40:
   - ET – Logiciel – Version – Statut – N’est pas –  « Mise à jour possible »   - ET – Logiciel – Version – Statut – N’est pas –  « Mise à jour possible »
 === Commandes === === Commandes ===
-  - wmic product where "name like 'Adobe Acrobat Reader%%'" call uninstall+  - <code>wmic product where "name like 'Adobe Acrobat Reader%%'" call uninstall</code>
   - <code>AcroRdrDC1801120040_fr_FR.exe /sAll</code>   - <code>AcroRdrDC1801120040_fr_FR.exe /sAll</code>
  
Ligne 119: Ligne 119:
 === Package === === Package ===
   - Firefox Setup 60.0.1.exe   - Firefox Setup 60.0.1.exe
-  - policies.js <file javascript policies.js>pref("general.config.obscure_value", 0); +  - policies.json <file json policies.json>
-pref("general.config.filename", "mozilla.cfg");</file> +  "policies": { 
-  - mozilla.cfg <file javascript mozilla.cfg>//don’t show the upgrade page +    "DontCheckDefaultBrowser": true, 
-lockPref("browser.startup.homepage_override.mstone", «ignore»); +    "Certificates": { 
-//don’t check the default browser +      "ImportEnterpriseRoots": true 
-lockPref("browser.shell.checkDefaultBrowser"false); +    }
-//disable autoupdate +    "Homepage": { 
-//lockPref("app.update.enabled", false); +      "URL": "http://google.be/", 
-//set the homepage +      "Locked": true
-lockPref("browser.startup.homepage", «http://www.google.be»); +      "StartPage": "homepage" 
-lockPref("browser.startup.page", 1); +    } 
-//use the os certificates +  } 
-lockPref("security.enterprise_roots.enabled", true);</file>+}</file>
  
 === Commandes === === Commandes ===
   - <code>"Firefox Setup 60.0.1.exe" -ms</code>   - <code>"Firefox Setup 60.0.1.exe" -ms</code>
-  - Copier : from **policies.js** to **C:\Program Files\Mozilla Firefox\defaults\pref\policies.js** (name pas nécessaire)+  - 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)   - Copier : from **mozilla.cfg** to **C:\Program Files\Mozilla Firefox\mozilla.cfg** (name pas nécessaire)
  
Ligne 149: Ligne 149:
   - <code>taskkill /F /IM Firefox.exe</code>   - <code>taskkill /F /IM Firefox.exe</code>
   - <code>install_flash_player.exe -install -au 2</code>   - <code>install_flash_player.exe -install -au 2</code>
 +
 +==== 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)<file xml 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></file>
 +
 +=== Commandes ===
 +  - Copier from **fusioninventory-agent_windows-x64_2.5.1.exe** to **c:\windows\temp**  
 +  - <code>schtasks /tn sysrun /create /XML sysrun.xml</code>
  
  
Ligne 172: Ligne 242:
 === Commandes === === Commandes ===
   - <code>msiexec /qn /norestart /i GoogleChromeStandaloneEnterprise64.msi</code>   - <code>msiexec /qn /norestart /i GoogleChromeStandaloneEnterprise64.msi</code>
 +
 +==== 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 ===
 +  - <code>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 </code>
  
  
Ligne 186: Ligne 266:
   - <code>msiexec /qn /i OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi INSTALLLEVEL=3</code>   - <code>msiexec /qn /i OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi INSTALLLEVEL=3</code>
  
 +==== 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 <file batch 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
  
-==== OpenJDK ====+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 
 +</file> 
 +=== Commandes === 
 +  - <code>oeminfo.bat</code> 
 +  - Copier : from **oemlogo.bmp** to **C:\windows\oemlogo.bmp** (name pas nécessaire) 
 + 
 + 
 +==== Office 2016 SMB ====
 === Conditions === === Conditions ===
   - Système d’exploitation – nom - est : Windows   - Système d’exploitation – nom - est : Windows
-  - ET Edition Systeme d’exploitation est « Professionnel » +  - ET PAS – Logiciel – Caractéristiques – Nom – Contient : Microsoft Office Famille et Petite Entreprise 2016 - fr-fr
-  - ET PAS – Logiciel – Caractéristiques – Nom – Contient : AdoptOpenJDK+
   - ET – Logiciel – Version – Statut – N’est pas –  « Mise à jour possible »   - ET – Logiciel – Version – Statut – N’est pas –  « Mise à jour possible »
 === Package === === Package ===
-  - OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi+  - 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)<file xml 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> 
 +</file> 
 +  - <code>setup /download install.xml</code> 
 +  - 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 === === Commandes ===
-  - <code>wmic product where "name like 'Java 8%%'" call uninstall</code> +  - <code>Office2016\setup.exe /configure Office2016\install.xml</code> 
-  - <code>msiexec /qn /i OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11.msi INSTALLLEVEL=3</code>+ 
 + 
 +==== 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 === 
 +  - <code>msiexec /qn /i putty-64bit-0.70-installer.msi</code> 
 + 
 + 
 +==== 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 === 
 +  - <code>wusa WindowsTH-RSAT_WS_1709-x64.msu /quiet</code>
  
  
  
 ===== Sources ===== ===== 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 ===== ===== 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.1573322695.txt.gz · Dernière modification : (modification externe)