tuto:gestion_de_parc:wpkg:productkey

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tuto:gestion_de_parc:wpkg:productkey [19/01/2012 18:41]
dani créée
tuto:gestion_de_parc:wpkg:productkey [13/07/2012 10:13] (Version actuelle)
dani Page moved from wpkg:productkey to tuto:gestion_de_parc:wpkg:productkey
Ligne 2: Ligne 2:
  
   * Récupérez la dernière version pour 32 et 64 bits ici: http://www.nirsoft.net/utils/product_cd_key_viewer.html   * Récupérez la dernière version pour 32 et 64 bits ici: http://www.nirsoft.net/utils/product_cd_key_viewer.html
-  * Extraire le contenu des archives dans softwares/productkey+  * Extraire le contenu des archives dans softwares/productkey/x86/ et softwares/productkey/x64/ respectivement 
 +  * Il faut une variable %WPKGLOG% (qui pointe par exemple sur un partage réseau qui hébergera la remonté des logs des machines)
  
 <file xml productkey.xml> <file xml productkey.xml>
 +<?xml version="1.0" encoding="UTF-8"?>
 <packages> <packages>
-    <package +    <package id="productkey"  
- id="productkey"  +      name="Informations sur les cles de licence"  
- name="Product Key"  +      revision="2
- revision="1+      reboot="false"  
- reboot="false"  +      priority="10" 
- priority="10" +             run="always">
-        run="always">+
  
         <variable name="MSI" value="%SOFTWARE%\libreoffice\%PKG_VERSION%\libreoffice34.msi" />         <variable name="MSI" value="%SOFTWARE%\libreoffice\%PKG_VERSION%\libreoffice34.msi" />
Ligne 18: Ligne 19:
         <variable architecture="x64" name="EXE_PATH" value="%SOFTWARE%\productkey\x64\ProduKey.exe" />         <variable architecture="x64" name="EXE_PATH" value="%SOFTWARE%\productkey\x64\ProduKey.exe" />
  
- <install cmd='%COMSPEC% /C if not exist "%KEYS%" mkdir %KEYS%' /> + <install cmd='%COMSPEC% /C if not exist "%WPKGLOGS%\keys" mkdir %WPKGLOGS%\keys' /> 
- <install cmd='%COMSPEC% /C if exist "%EXE_PATH%" "%EXE_PATH%" /stab > %KEYS%\%COMPUTERNAME%.txt' />+ <install cmd='%COMSPEC% /C if exist "%EXE_PATH%" "%EXE_PATH%" /stab > %WPKGLOGS%\keys\%COMPUTERNAME%.txt' />
  
  <upgrade include="install" />  <upgrade include="install" />
 +        <downgrade include="install" />
     </package>     </package>
 </packages> </packages>
 </file> </file>
  • tuto/gestion_de_parc/wpkg/productkey.1326994872.txt.gz
  • Dernière modification: 19/01/2012 18:41
  • de dani