[Wapt] Enlever Shortcut

Cedric Chambrelan (Info-Perm) info-perm at coria.fr
Mon Jan 23 17:42:28 CET 2017


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 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/20170123/ffbd2a84/attachment.html>
-------------- section suivante --------------
Une pi?ce jointe autre que texte a ?t? nettoy?e...
Nom: logohtml.png
Type: image/png
Taille: 1477 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20170123/ffbd2a84/attachment.png>


More information about the WAPT mailing list