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