<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Si votre Paquet Ressemble a ceci :<br>
<br>
# -*- coding: utf-8 -*-
<br>
from setuphelpers import *
<br>
<br>
uninstallstring =['"%s\Common Files\microsoft shared\OFFICE15\Office
Setup Controller\Setup.exe" /uninstall ProPlus /config "%s\Common
Files\silent.xml"' % (programfiles32,programfiles32) ]
<br>
<br>
def install():
<br>
<br>
# !!! READ README BEFORE !!!
<br>
<br>
def killsoft():
<br>
for soft in
('WINWORD.EXE','POWERPNT.EXE','EXCEL.exe','MSPUB.EXE','MSACCESS.EXE','INFOPATH.EXE','lync.exe','ONENOTE.EXE','OUTLOOK.EXE','ONENOTEM.EXE','MSOSYNC.EXE','GROOVE.EXE'):
<br>
if isrunning(soft):
<br>
print ("closing %s" % soft)
<br>
killalltasks(soft)
<br>
softname = 'Microsoft Office Professionnel Plus 2013'
<br>
check_installed_out = installed_softwares(softname)
<br>
<br>
print('installing Office 2013')
<br>
if not check_installed_out:
<br>
cmd = '"setup.exe" /adminfile "silent.msp"'
<br>
else:
<br>
cmd = 'msiexec.exe /p silent.msp'
<br>
killsoft()
<br>
run(cmd,timeout=1200,accept_returncodes=[1641,3010,0])
<br>
filecopyto("silent.xml",os.path.join(programfiles32,"Common
Files"))
<br>
check_installed_out = installed_softwares(softname)
<br>
if not check_installed_out:
<br>
error('End audit did not find the software.')<br>
<br>
<br>
<br>
Alors il ne faut pas oublier de mettre le fichier silent.xml a la
racine du paquet.<br>
<br>
Ce fichier permet de rendre silencieux la désinstallation. Il est
donc copier dans %programfiles%\Common Files<br>
<br>
Si ce fichier n'est pas présent lorsque wapt essaie de le copier,
alors wapt générera une erreur.<br>
<br>
Un exemple du paquet est dispo ici:<br>
<br>
<a class="moz-txt-link-freetext" href="https://wapt.lesfourmisduweb.org/wapt/smp-msoffice-proplus_2013-12_all.wapt">https://wapt.lesfourmisduweb.org/wapt/smp-msoffice-proplus_2013-12_all.wapt</a><br>
<br>
Attention le fichier silent.xml doit être adapter a votre version<br>
<br>
Simon Fonteneau<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-signature">
<p style="font-family: Helvetica, Arial, sans-serif; font-size:
10px; line-height: 12px; margin-bottom: 10px;"> <a
style="text-decoration:none"
href="https://www.stemarie-aizenay.fr" class="clink
logo-container"> <img
src="cid:part1.09090003.06080208@stemarie-aizenay.fr"
alt="Collège Privé Ste Marie" class="sig-logo" height="91"
width="116" border="0"> </a> </p>
<p style="font-family: Helvetica, Arial, sans-serif; font-size:
10px; line-height: 12px; color: rgb(33, 33, 33); margin-bottom:
10px;"><span style="font-weight: bold; color: rgb(33, 33, 33);
display: inline;" class="txt signature_name-target sig-hide">Fonteneau
Simon</span> <span class="title-sep sep" style="display:
inline;">/</span> <span style="color: rgb(33, 33, 33);
display: inline;" class="txt signature_jobtitle-target
sig-hide">Administrateur Réseaux</span> <span
class="email-sep break" style="display: inline;"><br>
</span> <a class="link email signature_email-target sig-hide"
href="mailto:sfonteneau@stemarie-aizenay.fr" style="color:
rgb(71, 124, 204); text-decoration: none; display: inline;">sfonteneau@stemarie-aizenay.fr</a><span
class="signature_email-sep sep" style="display: inline;"> / </span><span
style="color: rgb(33, 33, 33); display: inline;" class="txt
signature_mobilephone-target sig-hide">0648761484</span></p>
<p style="font-family: Helvetica, Arial, sans-serif; font-size:
10px; line-height: 12px; margin-bottom: 10px;"> <span
style="font-weight: bold; color: rgb(33, 33, 33); display:
inline;" class="txt signature_companyname-target sig-hide">Collège
Privé Ste Marie</span> <span class="company-sep break"
style="display: inline;"><br>
</span> <span style="color: rgb(33, 33, 33); display: inline;"
class="txt office-sep sep">Tel: </span> <span style="color:
rgb(33, 33, 33); display: inline;" class="txt
signature_officephone-target sig-hide">0251946200 </span> <span
style="color: rgb(33, 33, 33); display: inline;" class="txt
fax-sep sep">/ Fax: </span> <span style="color: rgb(33, 33,
33); display: inline;" class="txt signature_fax-target
sig-hide">0251946856</span> <span class="address-sep break"
style="display: inline;"><br>
</span> <span style="color: rgb(33, 33, 33); display: inline;"
class="txt signature_address-target sig-hide">24 route de
Nantes</span> <span class="address2-sep break"
style="display: block;"></span> <span style="color: rgb(33,
33, 33); display: inline;" class="txt
signature_address2-target sig-hide">85190 Aizenay</span> <span
class="website-sep break" style="display: inline;"><br>
</span> <a class="link signature_website-target sig-hide"
href="https://www.stemarie-aizenay.fr" style="color: rgb(71,
124, 204); text-decoration: none; display: inline;">https://www.stemarie-aizenay.fr</a>
</p>
<p class="social-list" style="font-size: 0px; line-height: 0;
font-family: Helvetica, Arial, sans-serif;"> <a
style="text-decoration: none; display: inline;" class="social
signature_facebook-target sig-hide"
href="https://www.facebook.com/saintemarieaizenay"><img
style="margin-bottom:2px; border:none; display:inline;"
data-filename="facebook.png"
src="cid:part5.04020902.09000101@stemarie-aizenay.fr"
alt="Facebook" height="16" width="16"></a><span
style="white-space:nowrap;" class="signature_facebook-sep"><img
src="cid:part7.01060704.04030801@stemarie-aizenay.fr"
width="2"></span> <a style="text-decoration: none; display:
inline;" class="social signature_googleplus-target sig-hide"
href="https://plus.google.com/105273696200535069375"><img
style="margin-bottom:2px; border:none; display:inline;"
data-filename="googleplus.png"
src="cid:part8.09020701.02070606@stemarie-aizenay.fr"
alt="Google +" height="16" width="16"></a><span
style="white-space:nowrap;" class="signature_googleplus-sep"><img
src="cid:part10.09020900.00090601@stemarie-aizenay.fr"
width="2"></span> <a style="text-decoration: none; display:
inline;" class="social signature_linkedin-target sig-hide"
href="https://fr.linkedin.com/in/simon-fonteneau-b13382b0"><img
style="margin-bottom:2px; border:none; display:inline;"
data-filename="linkedin.png"
src="cid:part11.02040909.00050300@stemarie-aizenay.fr"
alt="LinkedIn" height="16" width="16"></a><span
style="white-space:nowrap;" class="signature_linkedin-sep"><img
src="cid:part10.09020900.00090601@stemarie-aizenay.fr"
width="2"></span> <a style="display: inline;
text-decoration: none;" class="social signature_maps-target
sig-hide" href="https://goo.gl/maps/Jbyn8JUpumq"><img
style="margin-bottom:2px; border:none; display:inline;"
data-filename="maps.png"
src="cid:part14.09090106.09000707@stemarie-aizenay.fr"
alt="Maps" height="16" width="16"></a><span
style="white-space:nowrap;" class="signature_maps-sep"><img
src="cid:part10.09020900.00090601@stemarie-aizenay.fr"
width="2"></span>
</p>
<br>
<br>
<br>
<br>
</div>
<div class="moz-cite-prefix">Le 14/03/2016 14:44, Olivier CATY a
écrit :<br>
</div>
<blockquote
cite="mid:CADmqdJOjgGgu_JX0cuKu3BQd=ncj=XmLGLkge3GMdiqoTy2ryw@mail.gmail.com"
type="cite">
<div dir="ltr">Bonjour,
<div><br>
</div>
<div><br>
</div>
<div>j'ai suivi la procedure sur la liste de diffusion, mais je
rencontre une erreur a la fin du deploiement d'office 2016 Pro
Plus, j'ai pas rencontrer ce problème pour la version 2013.</div>
<div><br>
</div>
<div><span style="font-size:12.8px">IOError: [Errno 2] No such
file or directory: 'silent.xml'</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">auriez-vous une piste ?</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">d'avance je vous remercie<br
clear="all">
</span>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<table
style="width:100.02%;border-collapse:collapse"
width="100%" cellpadding="0" cellspacing="0"
align="left" border="0">
<tbody>
<tr style="height:33.25pt">
<td style="width:8.6%;border-style:none
solid none
none;border-right-color:rgb(232,88,17);border-right-width:1.5pt;padding:0cm
5.4pt;height:33.25pt" width="8%">
<p style="margin-bottom:0.0001pt"><span
style="font-size:5pt;font-family:Arial,sans-serif;color:rgb(113,114,113)"> </span></p>
<p style="margin-bottom:0.0001pt"><span
style="font-size:5pt;font-family:Arial,sans-serif;color:rgb(113,114,113)"> <img
moz-do-not-send="true"
src="http://www.ent-bourgogne.fr/images/logo-bfc-rvb_s.png"></span></p>
<p style="margin-bottom:0.0001pt"><span
style="font-size:5pt;font-family:Arial,sans-serif;color:rgb(113,114,113)"> </span></p>
<p
style="margin-bottom:0.0001pt;text-align:center"
align="center"><span
style="font-size:7pt;font-family:Arial,sans-serif;color:rgb(113,114,113)">17,
boulevard de la Trémouille</span></p>
<p
style="margin-bottom:0.0001pt;text-align:center"
align="center"><span
style="font-size:7pt;font-family:Arial,sans-serif;color:rgb(113,114,113)">CS
23502 - 21035 DIJON CEDEX</span></p>
</td>
<td style="width:91.4%;padding:0cm
5.4pt;height:33.25pt" width="91%">
<p style="margin-bottom:0.0001pt"><b><span
style="font-family:Arial,sans-serif;color:rgb(45,116,182)">Olivier CATY</span></b><span
style="font-family:Arial,sans-serif;color:rgb(113,114,113)"><br>
Direction Des Lycée et de la Formation
Initiale</span></p>
<p style="margin-bottom:0.0001pt"><span
style="color:rgb(113,114,113);font-family:Arial,sans-serif;font-size:12.8px">Fonction
EMMIR</span></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<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>
</body>
</html>