[Wapt] popup / msg box

Fonteneau Simon sfonteneau at stemarie-aizenay.fr
Thu Feb 25 17:29:01 CET 2016


Bonjour

Vous pouvez faire comme ceci sous les windows 7 si msg est actif:

run('msg * /SERVER:127.0.0.1 /TIME:120 "Mise a jour ZARAFA Veuillez 
attendre 5 minutes avant  de relancer outlook. Merci" ')

Par contre je n'ai pas trouvée comment killer la popup a la fin de 
l'installation

Simon

Collège Privé Ste Marie <https://www.stemarie-aizenay.fr>

Fonteneau Simon / Administrateur Réseaux
sfonteneau at stemarie-aizenay.fr <mailto:sfonteneau at stemarie-aizenay.fr>/ 
0648761484

Collège Privé Ste Marie
Tel: 0251946200 / Fax: 0251946856
24 route de Nantes 85190 Aizenay
https://www.stemarie-aizenay.fr

Facebook <https://www.facebook.com/saintemarieaizenay>Google + 
<https://plus.google.com/105273696200535069375>LinkedIn 
<https://fr.linkedin.com/in/simon-fonteneau-b13382b0>Maps 
<https://goo.gl/maps/Jbyn8JUpumq>





Le 25/02/2016 14:34, Cools Thierry a écrit :
> 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.
>
>> J'ai essayé avec des choses comme cela sans succès:
>
>   # -*- 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
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt

-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0001.html>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: stemarieaizenaysf.png
Type: image/png
Taille: 8867 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0005.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: facebook.png
Type: image/png
Taille: 956 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0006.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: spacer.gif
Type: image/gif
Taille: 1097 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0002.gif>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: googleplus.png
Type: image/png
Taille: 1527 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0007.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: spacer.gif
Type: image/gif
Taille: 1097 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0003.gif>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: linkedin.png
Type: image/png
Taille: 1141 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0008.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: maps.png
Type: image/png
Taille: 2548 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/8eb0c664/attachment-0009.png>


More information about the WAPT mailing list