[Wapt] Erreur dans la désinstallation de mon paquet

frédéric VOLPI frederic.volpi at ac-nantes.fr
Tue Mar 3 18:14:14 CET 2015


Bonjour,
J'obtiens cette erreur lorsque je veux désinstaller mon paquet

Ligne de Commande : -ldebug remove C:\waptdev\liv-puredata-wapt
Removing C:\waptdev\liv-puredata-wapt ...
=== Removed packages ===
   liv-puredata
=== Error removing packages ===
   liv-puredata

J'ajoute mon script
# -*- coding: utf-8 -*-
from setuphelpers import *

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

# command(s) to launch to remove the application(s)
uninstallstring = []

# list of required parameters names (string) which can be used during 
install
required_params = []


def install():
     # if you want to modify the keys depending on environment 
(win32/win64... params..)
     global uninstallkey
     global uninstallstring

     print('installing liv-puredata')
     run(r'"Pd-0.43.4-extended-windowsxp-i386.exe" /VERYSILENT')

def uninstall():
     print('Désinstalaltion de PureData')
     #run(r'uninstall.bat')
     run(r'"c:\program files (x86)\pd\unins000.exe" /VERYSILENT')

Que ce soit la ligne complète ou le bat (qui contient la commande), j'ai 
toujours la même erreur que je n'arrive pas à interpréter. Petite 
remarque, si j'exécute le bat ou la ligne de commande dans une console, 
le logiciel se désinstalle.
J'ai aussi essayé de mettre cette commande dans la variable 
uninstallstring (sans VERYSILENT), j'obtiens alors la désinstallation 
mais elle n'est plus silencieuse. Il faut valider deux ou trois fenêtres.
Je cherche donc un moyen pour analyser l'erreur que me renvoie PyScripter.
Merci
A+

-- 
Frédéric volpi
Administrateur Réseau
Lycée LIVET
NANTES
02 51 81 23 45

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150303/2bf21df0/attachment.html>


More information about the WAPT mailing list