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
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