[wpkg-users] Big Problem with a deployment (LibO)
Cedric Frayssinet
cedric.frayssinet at gmail.com
Thu Feb 9 11:21:33 CET 2012
I don't know what happened but, now, it works on a real computer.
Yesterday, i was on a virtual windows (ProxMox).
I give you my XML if someone is interessed. I install only french and
english language (and dicos) and just few extensions.
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.
Thanks, Cédric
<package id="Libreoffice"
name="LibreOffice : La suite bureautique Libre"
revision="%version_long%.1"
reboot="false"
priority="10">
<!-- Quelques fonctionnalités de LibO dépendent de Java -->
<depends package-id="Java" />
<!-- déclaration des variables utiles pour le XML -->
<variable name="version_long" value="3.4.5" />
<variable name="version" value="3.4" />
<variable name="version_short" value="34" />
<!-- Option du Nom de la société ou école -->
<variable name="CNAME" value="CRDP de Lyon" />
<!-- plus d'infos là :
http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows-->
<!-- Programmes supprimés de l'installation complète (ici Base et Maths),
même principe pour Calc, Impress, Wrt ou Draw -->
<variable name="REMOVEPROGS"
value="gm_p_Base,gm_p_Base_Bin,gm_p_Math,gm_p_Math_Bin" />
<!-- Options de LibreOffice supprimées de l'installation complète, vous
pouvez éventuellement ajouter gm_o_Quickstart (Démarrage rapide) -->
<variable name="REMOVEOPTIONS"
value="gm_o_Testtool,gm_o_Xsltfiltersamples,gm_o_Pyuno,gm_o_jf_Palm,gm_o_jf_Pocketpc"
/>
<!-- 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
-->
<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"
/>
<!-- 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)-->
<!-- 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 -->
<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"
/>
<!-- 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... -->
<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"
/>
<check type="file" condition="versiongreaterorequal"
path="%ProgramFiles%\LibreOffice %version%\program\soffice.exe"
value="%version%"/>
<!-- REGISTER_ALL_MSO_TYPES=1 : les fichiers OFFICE s'ouvriront avec LibO
-->
<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%'
/>
<!-- dans le cas d'un poste avec Trend, on désinstalle l'antivirus avant
l'upgrade -->
<upgrade cmd='msiexec /qn /x {ECEA7878-2100-4525-915D-B09174E36971}
uninstall_password=mypass' />
<!-- on installe LibO -->
<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%'
/>
<!-- puis on le réinstalle -->
<upgrade cmd='msiexec /norestart /i
"%SOFTWARE%\antivirus\client_officescan.msi" /q' />
<remove cmd='msiexec /qn /X {03CEFC42-378E-4467-9909-DCBAFD38CA9F}' />
</package>
2012/2/8 Alan Adams <alan at adamshome.org.uk>
> In message <CALaMdAMPauszoetGbm9zV2w1ZeMd+EufN51BkQx_h_BhGfG6Tw at mail.g
> mail.com>
> Cedric Frayssinet <cedric.frayssinet at gmail.com> wrote:
>
> > Hi all !
>
> > I've a problem with deployment of LibreOffice.
>
> > All was fine until i opened the msi with ORCA in order to find the names
> of
> > langage packs not to install. My goal is to reduce the time to launch
> > LibreOffice. ORCA is now closed, and i have made a copy of the MSI
> before...
>
> > When i made a
>
> > C:\>cscript \\172.16.0.241\wpkg\wpkg.js /synchronise /debug
> > /install:Libreoffice
>
> > i have this message :
>
> > Executing command: msiexec /qn /I
> > "%SOFTWARE%\libreoffice\libreoffice%version_sh
> > ort%.msi"
> > Could not process (install) package 'LibreOffice : La suite bureautique
> > Libre' (
> > Libreoffice):
> > Exit code returned non-successful value (1619) on command 'msiexec /qn /I
> > "%SOFT
> > WARE%\libreoffice\libreoffice%version_short%.msi"'.
> > Cleaning up temporary downloaded files
>
> > Folder LibreOffice has the same ACL than others folders which works fine.
> > WPKG is ok because i installed Firefox, 7-zip and more just before...
>
> > If I run the MSI manually, it works...
>
> > Do you have any idea ?
>
> If you google for "msiexec exit code" you'll find out what 1619 means.
>
> I keep a copy of that list in the wpkg folder.
>
> 1619 This installation package could not be
> opened. Verify that the package exists and
> that you can access it, or contact the
> application vendor to verify that this is
> a valid Windows Installer package.
>
> It usually means there is a type in the path.
>
>
> > Thanks a lot !
>
> > Cédric
>
> > NB : %version_short% is defined.
>
>
> --
> Alan Adams, from Northamptonshire
> alan at adamshome.org.uk
> http://www.nckc.org.uk/
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120209/2495ed6b/attachment-0002.html>
More information about the wpkg-users
mailing list