[Wapt] Erreur installation libreOffice "non-zero exit status 1641"
Hubert TOUVET
htouvet at tranquil.it
Tue Apr 8 16:13:45 CEST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20140408/432b4811/attachment-0001.html>
More information about the WAPT
mailing list