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
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@stemarie-aizenay.fr mailto:sfonteneau@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/saintemarieaizenayGoogle + https://plus.google.com/105273696200535069375LinkedIn https://fr.linkedin.com/in/simon-fonteneau-b13382b0Maps 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@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
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@stemarie-aizenay.fr mailto:sfonteneau@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/saintemarieaizenayGoogle + https://plus.google.com/105273696200535069375LinkedIn https://fr.linkedin.com/in/simon-fonteneau-b13382b0Maps 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@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt