<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    Am 09.02.2012 11:21, schrieb Cedric Frayssinet:
    <blockquote
cite="mid:CALaMdAPNp65UYsFayUvgTgtMW-ebZmXjXe8mJ_wKLb82tY0+xw@mail.gmail.com"
      type="cite">I don't know what happened but, now, it works on a
      real computer. Yesterday, i was on a virtual windows (ProxMox).<br>
      <br>
      I give you my XML if someone is interessed. I install only french
      and english language (and dicos) and just few extensions.<br>
      <br>
      You will see that i have a problem with Trend Antivirus on
      upgrade. If i don't remove Trend, upgrade took 43 mn, only 12 mn
      with this XML.<br>
    </blockquote>
    you really uninstall your antivirus before, and reinstall it again
    after the installation of openoffice? maybe you should consider
    finding a way to disable it for that time (not much butter than
    uninstalling it), upgrade your hardware or use another antivirus
    software which doesnt need as much resources.<br>
    <br>
    <blockquote
cite="mid:CALaMdAPNp65UYsFayUvgTgtMW-ebZmXjXe8mJ_wKLb82tY0+xw@mail.gmail.com"
      type="cite"><br>
      Thanks, Cédric<br>
      <br>
      <br>
      <br>
      <package id="Libreoffice"<br>
                  name="LibreOffice : La suite bureautique Libre"<br>
                  revision="%version_long%.1"<br>
                  reboot="false"<br>
                  priority="10">
      <br>
      <br>
      <!-- Quelques fonctionnalités de LibO dépendent de Java -->
      <br>
          <depends package-id="Java" /><br>
      <br>
      <br>
      <!-- déclaration des variables utiles pour le XML -->
      <br>
          <variable name="version_long" value="3.4.5" />
      <br>
          <variable name="version" value="3.4" />
      <br>
          <variable name="version_short" value="34" /><br>
           <br>
      <!-- Option du Nom de la société ou école -->
      <br>
         <variable name="CNAME" value="CRDP de Lyon" /><br>
             
      <br>
      <!-- plus d'infos là : <a moz-do-not-send="true"
href="http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows">http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows</a>
      -->
      <br>
       <br>
       
      <br>
      <!-- Programmes supprimés de l'installation complète (ici Base
      et Maths), même principe pour Calc, Impress, Wrt ou Draw -->
      <br>
          <variable name="REMOVEPROGS"
      value="gm_p_Base,gm_p_Base_Bin,gm_p_Math,gm_p_Math_Bin" /><br>
          
      <br>
      <!-- Options de LibreOffice supprimées de l'installation
      complète, vous pouvez éventuellement ajouter gm_o_Quickstart
      (Démarrage rapide) --><br>
          <variable name="REMOVEOPTIONS"
      value="gm_o_Testtool,gm_o_Xsltfiltersamples,gm_o_Pyuno,gm_o_jf_Palm,gm_o_jf_Pocketpc"
      /><br>
          <br>
      <!-- Extensions normalement fournies à l'installation
      supprimées du déploiement, vous pouvez ajouter
      gm_o_Extensions_PDFIMPORT,gm_o_Extensions_MINIMIZER,gm_o_Extensions_MEDIAWIKI
      --><br>
          <variable name="REMOVEEXTENSIONS"
      value="gm_o_Extensions_REPORTDESIGN,gm_o_Extensions_Script_Provider_For_Javascript,gm_o_Extensions_Script_Provider_For_Beanshell,gm_o_Extensions_PRESENTER_SCREEN,gm_o_Extensions_NLPSolver,gm_o_Extensions_Script_Provider_For_Python"
      /><br>
          <br>
      <!-- Pack de langues à supprimer à l'installation, on ne
      gardera que le francais (gm_Langpack_r_fr) et l'anglais
      (gm_Langpack_r_en_US et gm_Langpack_r_en_GB)--><br>
      <!-- Vous pouvez rajouter des langues à LibO en enlevant
      l'espagnol gm_Langpack_r_en_es, l'italien gm_Langpack_r_en_it,
      l'allemand gm_Langpack_r_en_de, le grec gm_Langpack_r_en_el, le
      japonais gm_Langpack_r_en_ja, le portugais gm_Langpack_r_en_pt, le
      chinois simplifié gm_Langpack_r_en_zh_CN ou le breton
      gm_Langpack_r_en_br -->
      <br>
          <variable name="REMOVELANGAGES"
      value="gm_Langpack_r_zu,gm_Langpack_r_zh_TW,gm_Langpack_r_xh,gm_Langpack_r_vi,gm_Langpack_r_ve,gm_Langpack_r_uz,gm_Langpack_r_uk,gm_Langpack_r_ug,gm_Langpack_r_ts,gm_Langpack_r_tr,gm_Langpack_r_tn,gm_Langpack_r_th,gm_Langpack_r_tg,gm_Langpack_r_te,gm_Langpack_r_ta,gm_Langpack_r_sw_TZ,gm_Langpack_r_sv,gm_Langpack_r_st,gm_Langpack_r_ss,gm_Langpack_r_sr,gm_Langpack_r_sq,gm_Langpack_r_sl,gm_Langpack_r_sk,gm_Langpack_r_si,gm_Langpack_r_sh,gm_Langpack_r_sd,gm_Langpack_r_sat,gm_Langpack_r_sa_IN,gm_Langpack_r_rw,gm_Langpack_r_ro,gm_Langpack_r_pt,gm_Langpack_r_pl,gm_Langpack_r_or,gm_Langpack_r_om,gm_Langpack_r_oc,gm_Langpack_r_nso,gm_Langpack_r_nr,gm_Langpack_r_nn,gm_Langpack_r_nl,gm_Langpack_r_ne,gm_Langpack_r_nb,gm_Langpack_r_my,gm_Langpack_r_mr,gm_Langpack_r_mni,gm_Langpack_r_mn,gm_Langpack_r_ml,gm_Langpack_r_mk,gm_Langpack_r_mai,gm_Langpack_r_lv,gm_Langpack_r_lt,gm_Langpack_r_lo,gm_Langpack_r_ku,gm_Langpack_r_ks,gm_Langpack_r_ko,gm_Langpack_r_kn,gm_Langpack_r_km,gm_Langpack
_r_kk,gm_Langpack_r_ka,gm_Langpack_r_ja,gm_Langpack_r_is,gm_Langpack_r_id,gm_Langpack_r_hu,gm_Langpack_r_hr,gm_Langpack_r_hi,gm_Langpack_r_gu,gm_Langpack_r_gl,gm_Langpack_r_gd,gm_Langpack_r_ga,gm_Langpack_r_fi,gm_Langpack_r_fa,gm_Langpack_r_eu,gm_Langpack_r_eo,gm_Langpack_r_en_ZA,gm_Langpack_r_dz,gm_Langpack_r_dgo,gm_Langpack_r_da,gm_Langpack_r_cy,gm_Langpack_r_cs,gm_Langpack_r_ca,gm_Langpack_r_bs,gm_Langpack_r_brx,gm_Langpack_r_bo,gm_Langpack_r_bn,gm_Langpack_r_bg,gm_Langpack_r_be,gm_Langpack_r_ast,gm_Langpack_r_as,gm_Langpack_r_ar,gm_Langpack_r_af,gm_Langpack_r_kok,gm_Langpack_r_br,gm_Langpack_r_es,gm_Langpack_r_pt_BR,gm_Langpack_r_pa_IN,gm_Langpack_r_ru,gm_Langpack_r_et,gm_Langpack_r_de,gm_Langpack_r_el,gm_Langpack_r_he,gm_Langpack_r_it,gm_Langpack_r_ca_XV,gm_Langpack_r_zh_CN"
      />
      <br>
          <br>
      <!-- Dictionnaires que l'on supprime, tous sauf le français et
      l'anglais. Enlever gm_r_Extension_Dictionary_Es pour Espagnol, It
      pour Italien, De pour Allemand... --><br>
          <variable name="REMOVEDICOS"
      value="gm_r_Extension_Dictionary_Da,gm_r_Extension_Dictionary_Af,gm_r_Extension_Dictionary_Pt,gm_r_Extension_Dictionary_Ca,gm_r_Extension_Dictionary_Hr,gm_r_Extension_Dictionary_Cs,gm_r_Extension_Dictionary_Nl,gm_r_Extension_Dictionary_Et,gm_r_Extension_Dictionary_De_AT,gm_r_Extension_Dictionary_De_CH,gm_r_Extension_Dictionary_De_DE,gm_r_Extension_Dictionary_He,gm_r_Extension_Dictionary_Hu,gm_r_Extension_Dictionary_It,gm_r_Extension_Dictionary_Ku_Tr,gm_r_Extension_Dictionary_Lt,gm_r_Extension_Dictionary_Ne,gm_r_Extension_Dictionary_No,gm_r_Extension_Dictionary_Oc,gm_r_Extension_Dictionary_Pl,gm_r_Extension_Dictionary_Ro,gm_r_Extension_Dictionary_Sr,gm_r_Extension_Dictionary_Sk,gm_r_Extension_Dictionary_Sl,gm_r_Extension_Dictionary_Es,gm_r_Extension_Dictionary_Sv,gm_r_Extension_Dictionary_Th,gm_r_Extension_Dictionary_Uk,gm_r_Extension_Dictionary_Vi,gm_r_Extension_Dictionary_Zu,gm_r_Extension_Dictionary_Ru,gm_r_Extension_Dictionary_Gl"
      />
      <br>
        
      <br>
          <check type="file" condition="versiongreaterorequal"
      path="%ProgramFiles%\LibreOffice %version%\program\soffice.exe"
      value="%version%"/>
      <br>
      <br>
      <!-- REGISTER_ALL_MSO_TYPES=1 : les fichiers OFFICE s'ouvriront
      avec LibO -->
      <br>
          <install cmd='msiexec /qn /I
      "%SOFTWARE%\libreoffice\libreoffice%version_short%.msi"
      COMPANYNAME="%CNAME%" USERNAME="" REGISTER_ALL_MSO_TYPES=1
      ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 ADDLOCAL=ALL
      REMOVE=%REMOVEPROGS%,%REMOVEOPTIONS%,%REMOVEEXTENSIONS%,%REMOVELANGAGES%,%REMOVEDICOS%'
      />
      <br>
      <br>
      <!-- dans le cas d'un poste avec Trend, on désinstalle
      l'antivirus avant l'upgrade -->
      <br>
          <upgrade cmd='msiexec /qn /x
      {ECEA7878-2100-4525-915D-B09174E36971} uninstall_password=mypass'
      /><br>
      <!-- on installe LibO -->
      <br>
         <upgrade cmd='msiexec /qn /I
      "%SOFTWARE%\libreoffice\libreoffice%version_short%.msi"
      COMPANYNAME="%CNAME%" USERNAME="" REGISTER_ALL_MSO_TYPES=1
      ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 ADDLOCAL=ALL
      REMOVE=%REMOVEPROGS%,%REMOVEOPTIONS%,%REMOVEEXTENSIONS%,%REMOVELANGAGES%,%REMOVEDICOS%'
      />
      <br>
      <!-- puis on le réinstalle -->    <br>
          <upgrade cmd='msiexec /norestart /i
      "%SOFTWARE%\antivirus\client_officescan.msi" /q' />
      <br>
       
      <br>
          <remove cmd='msiexec /qn /X
      {03CEFC42-378E-4467-9909-DCBAFD38CA9F}' />
      <br>
       
      <br>
      </package><br>
    </blockquote>
    I don't really know what to do with the french comments and please
    dont add a solution to the wpkg package database which is
    uninstalling the antivirus software...<br>
    <blockquote
cite="mid:CALaMdAPNp65UYsFayUvgTgtMW-ebZmXjXe8mJ_wKLb82tY0+xw@mail.gmail.com"
      type="cite"><br>
      <div class="gmail_quote">2012/2/8 Alan Adams <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:alan@adamshome.org.uk">alan@adamshome.org.uk</a>></span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          In message
          <<a class="moz-txt-link-abbreviated" href="mailto:CALaMdAMPauszoetGbm9zV2w1ZeMd+EufN51BkQx_h_BhGfG6Tw@mail.g">CALaMdAMPauszoetGbm9zV2w1ZeMd+EufN51BkQx_h_BhGfG6Tw@mail.g</a><br>
          <a moz-do-not-send="true" href="http://mail.com"
            target="_blank">mail.com</a>><br>
          <div>
            <div class="h5">          Cedric Frayssinet <<a
                moz-do-not-send="true"
                href="mailto:cedric.frayssinet@gmail.com">cedric.frayssinet@gmail.com</a>>
              wrote:<br>
              <br>
              > Hi all !<br>
              <br>
              > I've a problem with deployment of LibreOffice.<br>
              <br>
              > All was fine until i opened the msi with ORCA in
              order to find the names of<br>
              > langage packs not to install. My goal is to reduce
              the time to launch<br>
              > LibreOffice. ORCA is now closed, and i have made a
              copy of the MSI before...<br>
              <br>
              > When i made a<br>
              <br>
              > C:\>cscript \\172.16.0.241\wpkg\wpkg.js
              /synchronise /debug<br>
              > /install:Libreoffice<br>
              <br>
              > i have this message :<br>
              <br>
              > Executing command: msiexec /qn /I<br>
              > "%SOFTWARE%\libreoffice\libreoffice%version_sh<br>
              > ort%.msi"<br>
              > Could not process (install) package 'LibreOffice : La
              suite bureautique<br>
              > Libre' (<br>
              > Libreoffice):<br>
              > Exit code returned non-successful value (1619) on
              command 'msiexec /qn /I<br>
              > "%SOFT<br>
              > WARE%\libreoffice\libreoffice%version_short%.msi"'.<br>
              > Cleaning up temporary downloaded files<br>
              <br>
              > Folder LibreOffice has the same ACL than others
              folders which works fine.<br>
              > WPKG is ok because i installed Firefox, 7-zip and
              more just before...<br>
              <br>
              > If I run the MSI manually, it works...<br>
              <br>
              > Do you have any idea ?<br>
              <br>
            </div>
          </div>
          If you google for "msiexec exit code" you'll find out what
          1619 means.<br>
          <br>
          I keep a copy of that list in the wpkg folder.<br>
          <br>
          1619           This installation package could not be <br>
                                opened. Verify that the package exists and <br>
                                that you can access it, or contact the <br>
                                application vendor to verify that this is <br>
                                a valid Windows Installer package.<br>
          <br>
          It usually means there is a type in the path.<br>
          <div class="HOEnZb">
            <div class="h5"><br>
              <br>
              > Thanks a lot !<br>
              <br>
              > Cédric<br>
              <br>
              > NB : %version_short% is defined.</div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>