J'ai mis en installation la version x86 et 64 bits. J'ai testé la version 64bits, elle s'installe et se désinstalle sans soucis. (sauf peut être le helppack).
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="Libreoffice_stable"
name="LibreOffice : La suite bureautique Libre"
revision="%version_long%.5"
reboot="false"
priority="180">
<!-- Quelques fonctionnalités de LibO dépendent de Java -->
<depends package-id="Java"/>
<!-- Telechargement de libreoffice -->
<eoledl dl="https://miroir.univ-lorraine.fr/documentfoundation/libreoffice/stable/%version_long%/win/x86_64/LibreOffice_%version_long%_Win_x64.msi" destname="libreoffice\LibreOffice_%version_long%_Win_x64.msi" />
<eoledl dl="https://miroir.univ-lorraine.fr/documentfoundation/libreoffice/stable/%version_long%/win/x86/LibreOffice_%version_long%_Win_x86.msi" destname="libreoffice\LibreOffice_%version_long%_Win_x86.msi" />
<!-- Telechargement de l'aide -->
<eoledl dl="https://miroir.univ-lorraine.fr/documentfoundation/libreoffice/stable/%version_long%/win/x86_64/LibreOffice_%version_long%_Win_x64_helppack_fr.msi" destname="libreoffice\LibreOffice_%version_long%_Win_x64_helppack_fr.msi" />
<eoledl dl="https://miroir.univ-lorraine.fr/documentfoundation/libreoffice/stable/%version_long%/win/x86/LibreOffice_%version_long%_Win_x86_helppack_fr.msi" destname="libreoffice\LibreOffice_%version_long%_Win_x86_helppack_fr.msi" />
<!-- declaration des variables utiles pour le XML -->
<variable name="version_long" value="6.2.8"/>
<variable name="version" value="6"/>
<variable name="old_version" value="4"/> ,
<variable name="old_version2" value="3.6"/>
<variable name="old_version3" value="5"/>
<!-- declaration des variables generales -->
<variable name="PROGRAMFILES" value="%PROGRAMFILES%" />
<variable name="ComSpec" value="%SystemRoot%\System32\cmd.exe" architecture="x86"/>
<variable name="ComSpec" value="%SystemRoot%\SysWOW64\cmd.exe" architecture="x64"/>
<!-- Option du Nom de la societe ou etablissement -->
<variable name="CNAME" value="DANE de Lyon"/>
<!-- Options de LibreOffice supprimées de l'installation complète, vous pouvez éventuellement ajouter gm_o_Grfflt (import des graphiques), gm_o_Wineexplorerext (apercu fichiers dans explorer) et gm_o_Activexcontrol (affiche dans IE des fichiers), gm_o_Pyuno_LibreLogo (apprentissage du langage logo de programmation) pour Writer,gm_Reportbuilder (faire des rapport avec Base)-->
<variable name="REMOVEOPTIONS" value="gm_o_Quickstart,gm_o_Xsltfiltersamples,gm_o_Onlineupdate"/>
<!-- Extensions normalement fournies à l'installation supprimées du déploiement, vous pouvez ajouter gm_o_Extensions_MEDIAWIKI -->
<variable name="REMOVEEXTENSIONS" value="gm_o_Extensions_NLPSolver,gm_o_Extensions_Script_Provider_For_JS,gm_o_Extensions_Script_Provider_For_BS"/>
<!-- 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 d'interface à 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_am,gm_Langpack_r_bn_IN,gm_Langpack_r_lb,gm_Langpack_r_sid,gm_Langpack_r_tt,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_sr_Latn,gm_Langpack_r_sq,gm_Langpack_r_sl,gm_Langpack_r_sk,gm_Langpack_r_si,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_ks,gm_Langpack_r_ko,gm_Langpack_r_kn,gm_Langpack_r_km,gm_Langpack_r_kmr_Latn,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_zh_CN,gm_Langpack_r_ca,gm_Langpack_r_ca_valencia,gm_Langpack_r_gug,gm_Langpack_r_vec"/>
<!-- nouveautés 4.4 : amharique : gm_Langpack_r_am
bengali(inde) :gm_Langpack_r_bn_IN
luxembourgeois : gm_Langpack_r_lb
sidama : gm_Langpack_r_sid
tatar : gm_Langpack_r_tt -->
<!-- Dictionnaires que l'on supprime, tous sauf le français, anglais, espagnol, allemand, italien. Rajouter gm_r_ex_Dictionary_Es pour supprimer l'Espagnol, gm_r_ex_Dictionary_De (allemand) et gm_r_ex_Dictionary_It (Italien)... -->
<variable name="REMOVEDICOS" value="gm_r_ex_Dictionary_Af,gm_r_ex_Dictionary_An,gm_r_ex_Dictionary_Ar,gm_r_ex_Dictionary_Be,gm_r_ex_Dictionary_Bg,gm_r_ex_Dictionary_Bg,gm_r_ex_Dictionary_Bn,gm_r_ex_Dictionary_Br,gm_r_ex_Dictionary_Bs,gm_r_ex_Dictionary_Da,gm_r_ex_Dictionary_Ca,gm_r_ex_Dictionary_El,gm_r_ex_Dictionary_Pt_Pt,gm_r_ex_Dictionary_Pt_Br,gm_r_ex_Dictionary_Si,gm_r_ex_Dictionary_Hi,gm_r_ex_Dictionary_Gu,gm_r_ex_Dictionary_Gd,gm_r_ex_Dictionary_Lt,gm_r_ex_Dictionary_Hr,gm_r_ex_Dictionary_Cs,gm_r_ex_Dictionary_Nl,gm_r_ex_Dictionary_Is,gm_r_ex_Dictionary_Et,gm_r_ex_Dictionary_He,gm_r_ex_Dictionary_Hu,gm_r_ex_Dictionary_Lv,gm_r_ex_Dictionary_Ne,gm_r_ex_Dictionary_No,gm_r_ex_Dictionary_Oc,gm_r_ex_Dictionary_Pl,gm_r_ex_Dictionary_Ro,gm_r_ex_Dictionary_Sr,gm_r_ex_Dictionary_Sk,gm_r_ex_Dictionary_Sl,gm_r_ex_Dictionary_Sv,gm_r_ex_Dictionary_Th,gm_r_ex_Dictionary_Uk,gm_r_ex_Dictionary_Vi,gm_r_ex_Dictionary_Zu,gm_r_ex_Dictionary_Ru,gm_r_ex_Dictionary_Gl,gm_r_ex_Dictionary_Te,gm_r_ex_Dictionary_Lo"/>
<!-- check de libreoffice -->
<check type="file" condition="versiongreaterorequal" path="%ProgramFiles%\LibreOffice\program\soffice.exe" value="%version_long%.2"/>
<install cmd='msiexec /quiet /i "%SOFTWARE%\libreoffice\LibreOffice_%version_long%_Win_x64.msi" COMPANYNAME="%CNAME%" USERNAME="" ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 ADDLOCAL=ALL REMOVE=%REMOVEOPTIONS%,%REMOVEEXTENSIONS%,%REMOVELANGAGES%,%REMOVEDICOS%' architecture="x64"/>
<install cmd='msiexec /quiet /i "%SOFTWARE%\libreoffice\LibreOffice_%version_long%_Win_x64_helppack_fr.msi"' architecture="x64"/>
<install cmd='msiexec /quiet /i "%SOFTWARE%\libreoffice\LibreOffice_%version_long%_Win_x86.msi" COMPANYNAME="%CNAME%" USERNAME="" ISCHECKFORPRODUCTUPDATE=0 CREATEDESKTOPLINK=0 ADDLOCAL=ALL REMOVE=%REMOVEOPTIONS%,%REMOVEEXTENSIONS%,%REMOVELANGAGES%,%REMOVEDICOS%' architecture="x86"/>
<install cmd='msiexec /quiet /i "%SOFTWARE%\libreoffice\LibreOffice_%version_long%_Win_x86_helppack_fr.msi"' architecture="x86"/>
<!-- on upgrade LibO -->
<upgrade include="install"/>
<!-- on supprime, s'il existe le dossier de la version précédente de LibO -->
<upgrade cmd='%COMSPEC% /C if exist "%ProgramFiles%\LibreOffice %old_version%" rmdir /S /Q "%ProgramFiles%\LibreOffice %old_version%"'/>
<upgrade cmd='%COMSPEC% /C if exist "%ProgramFiles%\LibreOffice %old_version2%" rmdir /S /Q "%ProgramFiles%\LibreOffice %old_version2%"'/>
<upgrade cmd='%COMSPEC% /C if exist "%ProgramFiles%\LibreOffice %old_version3%" rmdir /S /Q "%ProgramFiles%\LibreOffice %old_version3%"'/>
<downgrade include="upgrade"/>
<!-- Désinstallation -->
<remove cmd='msiexec /quiet /uninstall %SOFWARE%\libreoffice\Libre_Office_%version_long%_Win_x64.msi' architecture="x64"/>
<remove cmd='msiexec /quiet /uninstall %SOFWARE%\libreoffice\Libre_Office_%version_long%_Win_x86.msi' architecture="x86"/>
<remove cmd='msiexec /quiet /uninstall %SOFWARE%\libreoffice\Libre_Office_%version_long%_Win_x64_helppack_fr.msi' acritechture="x64"/>
<remove cmd='msiexec /quiet /uninstall %SOFWARE%\libreoffice\Libre_Office_%version_long%_Win_x86_helppack_fr.msi' acritechture="x86"/>
<remove cmd='%COMSPEC% /C if exist "%ProgramFiles%\LibreOffice" rmdir /S /Q "%ProgramFiles%\LibreOffice"'/>
</package>
</packages>
J'ai juste un soucis pour le téléchargement des msi qui ne fonctionne pas avec wpkg. J'ai tenté de changer le lien en prenant un miroir de l'université de Lorraine, mais les fichiers ne se télécharge pas chez moi.
J'ai un zip avec les raccourcis 64bits, mais je ne sais pas où l'héberger, je le met à dispo via mon cloud perso : (Désolé pour le temps de chargement, c'est sur ma connexion perso)
Cédrick AMANN.