[Wapt] popup / msg box
Fonteneau Simon
sfonteneau at stemarie-aizenay.fr
Thu Feb 25 20:52:28 CET 2016
Oups petite erreur pardon, il faut faire comme ceci avec les 64:
with disable_file_system_redirection():
run('msg * /SERVER:127.0.0.1 /TIME:120 "Mise a jour ZARAFA Veuillez
attendre 5 minutes avant de relancer outlook. Merci" ')
Simon
Le 25/02/2016 17:29, Fonteneau Simon a écrit :
> 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
>
--
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>
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0001.html>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/png
Taille: 8867 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0010.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/png
Taille: 956 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0011.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/gif
Taille: 1097 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0003.gif>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/png
Taille: 1527 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0012.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/gif
Taille: 1097 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0004.gif>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/png
Taille: 1141 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0013.png>
-------------- section suivante --------------
Une pi�ce jointe autre que texte a �t� nettoy�e...
Nom: non disponible
Type: image/png
Taille: 2548 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20160225/c9e9c9b1/attachment-0014.png>
-------------- 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/c9e9c9b1/attachment-0015.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/c9e9c9b1/attachment-0016.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/c9e9c9b1/attachment-0005.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/c9e9c9b1/attachment-0017.png>
-------------- 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/c9e9c9b1/attachment-0018.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/c9e9c9b1/attachment-0019.png>
More information about the WAPT
mailing list