<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><span style="color: rgb(51, 51, 51);
        font-family: helvetica, arial, clean, sans-serif; font-size:
        13px; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: 17px; orphans:
        auto; text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: auto; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); display: inline !important; float: none;">L'erreur
        retournée par msiexec est : <br>
      </span><span style="color: rgb(51, 51, 51); font-family:
        helvetica, arial, clean, sans-serif; font-size: 13px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: 17px; orphans: auto;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: auto; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); display: inline !important; float: none;"><span
          style="color: rgb(51, 51, 51); font-family: helvetica, arial,
          clean, sans-serif; font-size: 13px; font-style: normal;
          font-variant: normal; font-weight: normal; letter-spacing:
          normal; line-height: 17px; orphans: auto; text-align: start;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
          0px; background-color: rgb(255, 255, 255); display: inline
          !important; float: none;">"Error 1641 means the machine
          requires a reboot but has succeeded with the install.</span>"<br>
        <br>
        En fait, il faudrait "accepter" l'erreur 1641 lors du run('...')<br>
        Cela peut être spécifié avec l'argument </span><span
        style="color: rgb(51, 51, 51); font-family: helvetica, arial,
        clean, sans-serif; font-size: 13px; font-style: normal;
        font-variant: normal; font-weight: normal; letter-spacing:
        normal; line-height: 17px; orphans: auto; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(255, 255, 255); display: inline
        !important; float: none;"><span style="color: rgb(51, 51, 51);
          font-family: helvetica, arial, clean, sans-serif; font-size:
          13px; font-style: normal; font-variant: normal; font-weight:
          normal; letter-spacing: normal; line-height: 17px; orphans:
          auto; text-align: start; text-indent: 0px; text-transform:
          none; white-space: normal; widows: auto; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(255,
          255, 255); display: inline !important; float: none;">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.</span><br>
        ...<br>
                args.append('QUICKSTART=0')<br>
                cmd = ' '.join(args)<br>
                run(cmd, accept_returncodes=[0,1601,1641])<br>
      </span><br>
      <br>
      Le 08/04/2014 13:49, "Frédéric VOLPI (Rectorat)" a écrit :<br>
    </div>
    <blockquote cite="mid:5343E242.2010505@ac-nantes.fr" type="cite">
      <pre wrap="">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</pre>
    </blockquote>
    <br>
  </body>
</html>