Bonjour, J'ai modifié le script en ajoutant les valeurs. Au passage dans le fichier de log, j'ai eu plusieurs erreurs avec des numéros différents. Ma question : Mon client Wapt, sur le poste, est toujours en erreur ! Faut-il incrémenter le numéro de version du paquet et refaire une mise à jour ? Si oui, je risque de reproduire encore une fois l'erreur si le paquet refait l'installation de libreoffice avec peut-être un nouveau numéro ? Ne serait-il pas possible d'avertir l'utilisateur que LibreOffice est "en train de se mettre" à jour et donc de patienter un petit peu.
Merci pour vos lumières A+
Le 08/04/2014 16:13, Hubert TOUVET a écrit :
L'erreur retournée par msiexec est : "Error 1641 means the machine requires a reboot but has succeeded with the install."
En fait, il faudrait "accepter" l'erreur 1641 lors du run('...') Cela peut être spécifié avec l'argument accept_returncodes (de type "list") qui est une liste des codes numériques de retour de la commande lancée qu'il faut considérer comme OK. ... args.append('QUICKSTART=0') cmd = ' '.join(args) run(cmd, accept_returncodes=[0,1601,1641])
Le 08/04/2014 13:49, "Frédéric VOLPI (Rectorat)" a écrit :
installing LibreOffice 2014-04-08 09:02:31,638 CRITICAL Fatal error in install script: CalledProcessError: Command '('msiexec /qn /i LibreOffice_4.1.5_Win_x86.msi SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 CREATEDESKTOPLINK=0 RebootYesNo=No ALLUSER=1 ISCHECKFORPRODUCTUPDATES=0 QUICKSTART=0',)' returned non-zero exit status 1641 2014-04-08 09:02:32,325 CRITICAL Package liv-libreoffice (package : liv-libreoffice version : 4.1.5-0
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt