Bonjour. Je souhaite desinstaller Acrobat reader à l'aide ce setup.py def install():
softname = 'Adobe Acrobat Reader DC' check_installed_soft = installed_softwares(softname) if check_installed_soft: for uninstall in check_installed_soft: key=uninstall['key'] if installed_softwares(uninstallkey=key): cmd = WAPT.uninstall_cmd(uninstall['key']) run(cmd) remove_desktop_shortcut('Acrobat Reader DC')
Ca à l'air de fonctionner à part le remove_desktop_shortcut qui ne m'enlève rien. Je suis une grosse quiche en python !! Merci d'avance
*Raphaël*
Bonjour,
en mettant le nom complet du fichier avec le .lnk ?
Cédric
Chambrelan Cédric *Cédric Chambrelan* Ingénieur d'Études Service Informatique Tél. 02 32 95 36 31 coria *UMR 6614 CORIA* Université de Rouen Site Universitaire du Madrillet - BP 12 76801 Saint Etienne du Rouvray cedex Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85 www.coria.fr http://www.coria.fr Le 23/01/2017 à 17:38, Raphaël Larronde a écrit :
Bonjour. Je souhaite desinstaller Acrobat reader à l'aide ce setup.py def install():
softname = 'Adobe Acrobat Reader DC' check_installed_soft = installed_softwares(softname) if check_installed_soft: for uninstall in check_installed_soft:
key=uninstall['key'] if installed_softwares(uninstallkey=key): cmd = WAPT.uninstall_cmd(uninstall['key']) run(cmd) remove_desktop_shortcut('Acrobat Reader DC')
Ca à l'air de fonctionner à part le remove_desktop_shortcut qui ne m'enlève rien. Je suis une grosse quiche en python !! Merci d'avance
/Raphaël/
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonsoir,
Avec le .lnk
https://dev.tranquil.it/sphinxdocs/source/setuphelpers.html
setuphelpers.remove_desktop_shortcut(label)[source] Remove a shortcut from the desktop of all users Parameters: label (str) label of shortcut with extension lnk or url
Cordialement
De : WAPT [mailto:wapt-bounces@lists.tranquil.it] De la part de Cedric Chambrelan (Info-Perm) Envoyé : lundi 23 janvier 2017 17:42 À : Raphaël Larronde raphael.larronde@ent-st-joseph-hasparren.fr; Wapt List wapt@lists.tranquil.it Objet : Re: [Wapt] Enlever Shortcut
Bonjour,
en mettant le nom complet du fichier avec le .lnk ?
Cédric
Cédric Chambrelan Ingénieur d'Études Service Informatique Tél. 02 32 95 36 31
UMR 6614 CORIA Université de Rouen Site Universitaire du Madrillet - BP 12 76801 Saint Etienne du Rouvray cedex Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85 www.coria.fr Le 23/01/2017 à 17:38, Raphaël Larronde a écrit : Bonjour. Je souhaite desinstaller Acrobat reader à l'aide ce setup.py def install():
softname = 'Adobe Acrobat Reader DC' check_installed_soft = installed_softwares(softname) if check_installed_soft: for uninstall in check_installed_soft: key=uninstall['key'] if installed_softwares(uninstallkey=key): cmd = WAPT.uninstall_cmd(uninstall['key']) run(cmd) remove_desktop_shortcut('Acrobat Reader DC')
Ca à l'air de fonctionner à part le remove_desktop_shortcut qui ne m'enlève rien. Je suis une grosse quiche en python !! Merci d'avance
Raphaël
_______________________________________________ WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
---------------------------------------------------------------------- Merci de nous aider à préserver l'environnement en n'imprimant ce courriel et les documents joints que si nécessaire.
Si vous regardez le code présent sur le wapt.tranquil.it un indice est présent !
https://wapt.tranquil.it/package_details?package=tis-adobereader_2015.20.200...
La dernière ligne donne un indice,
# attention l'espace n'est pas un espace u'Acrobat Reader\xa0DC.lnk'
Simon
Le 23/01/2017 à 17:52, Xavier LIMODIN a écrit :
Bonsoir,
Avec le .lnk
https://dev.tranquil.it/sphinxdocs/source/setuphelpers.html
setuphelpers.remove_desktop_shortcut(label)[source] Remove a shortcut from the desktop of all users Parameters: label (str) – label of shortcut with extension lnk or url
Cordialement
De : WAPT [mailto:wapt-bounces@lists.tranquil.it] De la part de Cedric Chambrelan (Info-Perm) Envoyé : lundi 23 janvier 2017 17:42 À : Raphaël Larronde raphael.larronde@ent-st-joseph-hasparren.fr; Wapt List wapt@lists.tranquil.it Objet : Re: [Wapt] Enlever Shortcut
Bonjour,
en mettant le nom complet du fichier avec le .lnk ?
Cédric
Cédric Chambrelan Ingénieur d'Études Service Informatique Tél. 02 32 95 36 31
UMR 6614 CORIA Université de Rouen Site Universitaire du Madrillet - BP 12 76801 Saint Etienne du Rouvray cedex Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85 www.coria.fr Le 23/01/2017 à 17:38, Raphaël Larronde a écrit : Bonjour. Je souhaite desinstaller Acrobat reader à l'aide ce setup.py def install():
softname = 'Adobe Acrobat Reader DC' check_installed_soft = installed_softwares(softname) if check_installed_soft: for uninstall in check_installed_soft: key=uninstall['key'] if installed_softwares(uninstallkey=key): cmd = WAPT.uninstall_cmd(uninstall['key']) run(cmd) remove_desktop_shortcut('Acrobat Reader DC')
Ca à l'air de fonctionner à part le remove_desktop_shortcut qui ne m'enlève rien. Je suis une grosse quiche en python !! Merci d'avance
Raphaël
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Merci de nous aider à préserver l'environnement en n'imprimant ce courriel et les documents joints que si nécessaire. _______________________________________________ WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonsoir. Merci beaucoup pour vos réponses
Le 23 janvier 2017 à 21:45, Lesfourmisduweb blog@lesfourmisduweb.org a écrit :
Si vous regardez le code présent sur le wapt.tranquil.it un indice est présent !
https://wapt.tranquil.it/package_details?package=tis- adobereader_2015.20.20042-1_all.wapt
La dernière ligne donne un indice,
# attention l'espace n'est pas un espace u'Acrobat Reader\xa0DC.lnk'
Simon
Le 23/01/2017 à 17:52, Xavier LIMODIN a écrit :
Bonsoir,
Avec le .lnk https://dev.tranquil.it/sphinxdocs/source/setuphelpers.html
setuphelpers.remove_desktop_shortcut(label)[source] Remove a shortcut from the desktop of all users Parameters: label (str) – label of shortcut with extension lnk or url
Cordialement
De : WAPT [mailto:wapt-bounces@lists.tranquil.it wapt-bounces@lists.tranquil.it] De la part de Cedric Chambrelan (Info-Perm) Envoyé : lundi 23 janvier 2017 17:42 À : Raphaël Larronde raphael.larronde@ent-st-joseph-hasparren.fr raphael.larronde@ent-st-joseph-hasparren.fr; Wapt List wapt@lists.tranquil.it wapt@lists.tranquil.it Objet : Re: [Wapt] Enlever Shortcut
Bonjour,
en mettant le nom complet du fichier avec le .lnk ?
Cédric
Cédric Chambrelan Ingénieur d'Études Service Informatique Tél. 02 32 95 36 31
UMR 6614 CORIA Université de Rouen Site Universitaire du Madrillet - BP 12 76801 Saint Etienne du Rouvray cedex Tél. 33 (0)2 32 95 36 00 - Fax 33 (0)2 32 91 04 85www.coria.fr Le 23/01/2017 à 17:38, Raphaël Larronde a écrit : Bonjour. Je souhaite desinstaller Acrobat reader à l'aide ce setup.py def install():
softname = 'Adobe Acrobat Reader DC' check_installed_soft = installed_softwares(softname) if check_installed_soft: for uninstall in check_installed_soft: key=uninstall['key'] if installed_softwares(uninstallkey=key): cmd = WAPT.uninstall_cmd(uninstall['key']) run(cmd) remove_desktop_shortcut('Acrobat Reader DC')
Ca à l'air de fonctionner à part le remove_desktop_shortcut qui ne m'enlève rien. Je suis une grosse quiche en python !! Merci d'avance
Raphaël
WAPT mailing listWAPT@lists.tranquil.ithttp://lists.tranquil.it/listinfo/wapt
Merci de nous aider à préserver l'environnement en n'imprimant ce courriel et les documents joints que si nécessaire. _______________________________________________ WAPT mailing listWAPT@lists.tranquil.ithttp://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt