[Wapt] Enlever Shortcut

Raphaël Larronde raphael.larronde at ent-st-joseph-hasparren.fr
Mon Jan 23 17:38:43 CET 2017


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*
-------------- section suivante --------------
Une pi�ce jointe HTML a �t� nettoy�e...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20170123/01710e89/attachment.html>


More information about the WAPT mailing list