<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Oups petite erreur pardon, il faut faire comme ceci avec les 64:<br>
    <br>
    with disable_file_system_redirection():<br>
        run('msg * /SERVER:127.0.0.1 /TIME:120 "Mise a jour ZARAFA
    Veuillez attendre 5 minutes avant  de relancer outlook. Merci" ')<br>
    <br>
    Simon<br>
    <br>
    <div class="moz-cite-prefix">Le 25/02/2016 17:29, Fonteneau Simon a
      écrit :<br>
    </div>
    <blockquote cite="mid:56CF2BCD.8030304@stemarie-aizenay.fr"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <div>
        <div>Bonjour<br>
          <br>
        </div>
        Vous pouvez faire comme ceci sous les windows 7 si msg est
        actif:<br>
        <br>
        run('msg * /SERVER:127.0.0.1 /TIME:120 "Mise a jour ZARAFA
        Veuillez attendre 5 minutes avant  de relancer outlook. Merci"
        ')<br>
        <br>
      </div>
      <div>Par contre je n'ai pas trouvée comment killer la popup a la
        fin de l'installation<br>
        <br>
      </div>
      Simon
      <div class="moz-signature">
        <p style="font-family: Helvetica, Arial, sans-serif; font-size:
          10px; line-height: 12px; margin-bottom: 10px;"> <a
            moz-do-not-send="true" style="text-decoration:none"
            href="https://www.stemarie-aizenay.fr" class="clink
            logo-container"> <img
              src="cid:part1.03070103.09080806@stemarie-aizenay.fr"
              alt="Collège Privé Ste Marie" class="sig-logo" border="0"
              height="91" width="116"> </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 moz-do-not-send="true" 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 moz-do-not-send="true" 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
            moz-do-not-send="true" 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.06060902.03030201@stemarie-aizenay.fr"
              alt="Facebook" height="16" width="16"></a><span
            style="white-space:nowrap;" class="signature_facebook-sep"><img
              src="cid:part7.04060407.01060708@stemarie-aizenay.fr"
              width="2"></span> <a moz-do-not-send="true"
            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.04010705.01060301@stemarie-aizenay.fr"
              alt="Google +" height="16" width="16"></a><span
            style="white-space:nowrap;" class="signature_googleplus-sep"><img
              src="cid:part10.00090001.01050703@stemarie-aizenay.fr"
              width="2"></span> <a moz-do-not-send="true"
            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.00090406.04000401@stemarie-aizenay.fr"
              alt="LinkedIn" height="16" width="16"></a><span
            style="white-space:nowrap;" class="signature_linkedin-sep"><img
              src="cid:part10.00090001.01050703@stemarie-aizenay.fr"
              width="2"></span> <a moz-do-not-send="true"
            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.05050104.07070800@stemarie-aizenay.fr"
              alt="Maps" height="16" width="16"></a><span
            style="white-space:nowrap;" class="signature_maps-sep"><img
              src="cid:part10.00090001.01050703@stemarie-aizenay.fr"
              width="2"></span> </p>
        <br>
        <br>
        <br>
        <br>
      </div>
      <div class="moz-cite-prefix">Le 25/02/2016 14:34, Cools Thierry a
        écrit :<br>
      </div>
      <blockquote
        cite="mid:zarafa.56cf02fc.2125.736f9a225acc903d@seur185675.brufor.be"
        type="cite">
        <pre wrap="">Bonjour,

Je voudrais savoir comment on peut ajouter un popup message lors de l'installation d'un paquet.

Le problème de base c'est d'avertir l'utilisateur de ne pas ouvrir outlook pendant la mise à jour d'un client zarafa.

</pre>
        <blockquote type="cite">
          <pre wrap="">J'ai essayé avec des choses comme cela sans succès:
</pre>
        </blockquote>
        <pre wrap="">
 # -*- coding: utf-8 -*-
 from setuphelpers import *
 import sys
 if sys.version_info < (3,0):
     import Tkinter as tkinter
     import tkMessageBox as mbox
 else:
    import tkinter
      import tkinter.messagebox as mbox
 uninstallkey = ["{FFEE0341-2930-4DA1-9330-482482E63BBA}"]
 window = tkinter.Tk()
window.wm_withdraw()
 
mbox.showinfo('Mise a jour ZARAFA','Veuillez attendre 5 minutes avant  de relancer outlook. Merci')
def install():
   print('installing zarafaclient')
   run(r'"zarafaclient-7.1.14-52042.msi" /q /norestart')

Merci d'avance de vos lumières.

Thierry
 

_______________________________________________
WAPT mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <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:part19.02030805.01060108@stemarie-aizenay.fr"
            alt="Collège Privé Ste Marie" class="sig-logo" border="0"
            height="91" width="116"> </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:part23.09080006.09000705@stemarie-aizenay.fr"
            alt="Facebook" height="16" width="16"></a><span
          style="white-space:nowrap;" class="signature_facebook-sep"><img
            src="cid:part25.05020908.04050604@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:part26.05070303.09060003@stemarie-aizenay.fr"
            alt="Google +" height="16" width="16"></a><span
          style="white-space:nowrap;" class="signature_googleplus-sep"><img
            src="cid:part25.05020908.04050604@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:part29.03020505.04040101@stemarie-aizenay.fr"
            alt="LinkedIn" height="16" width="16"></a><span
          style="white-space:nowrap;" class="signature_linkedin-sep"><img
            src="cid:part25.05020908.04050604@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:part32.05080404.03000200@stemarie-aizenay.fr"
            alt="Maps" height="16" width="16"></a><span
          style="white-space:nowrap;" class="signature_maps-sep"><img
            src="cid:part25.05020908.04050604@stemarie-aizenay.fr"
            width="2"></span>
      </p>
    </div>
  </body>
</html>