<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Bonjour,<br>
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.<br>
Ma question :<br>
Mon client Wapt, sur le poste, est toujours en erreur ! <br>
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 ?<br>
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.<br>
<br>
Merci pour vos lumières<br>
A+<br>
<br>
Le 08/04/2014 16:13, Hubert TOUVET a écrit :<br>
</div>
<blockquote cite="mid:53440419.2070203@tranquil.it" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Frédéric VOLPI
Cellule Informatique & Réseau
Lycée LIVET
Nantes
02 51 81 23 45
06 40 75 81 10</pre>
</body>
</html>