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 19:48] 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 ===
-  - <code batch>msiexec /qn /norestart /i 7z1805-x64.msi</code>+  - <code>msiexec /qn /norestart /i 7z1805-x64.msi</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 235: Ligne 315:
 === Commandes === === Commandes ===
   - <code>Office2016\setup.exe /configure Office2016\install.xml</code>   - <code>Office2016\setup.exe /configure Office2016\install.xml</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.1573328897.txt.gz · Dernière modification : (modification externe)