Bonjour
La remarque de Vincent ne répond pas vraiment à ma question mais me paraît fort juste. J'ai donc contacté l'éditeur Tixeo, il m'a indiqué comment obtenir une version qui puisse s'installer ailleurs que dans le répertoire utilisateur.
Merci aussi à Bastien. Cet exemple me servira probablement.
Franck
Le 10/04/2020 à 12:17, Vincent CARDON a écrit :
Bonjour,
La plupart des éditeurs vont aussi proposer leur soft qui s'installe dans les endroits normalement prévus (Program Files).
Ils ne mettent parfois pas trop ces versions là en avant car elles leur retirent leur principal argument qui est "déployable par l'utilisateur sans intervention des services IT". Ceci dit, c'est très moche de permettre aux utilisateurs d'installer des exécutables dans leurs répertoires personnels (i.e. ransomware). Ces mêmes éditeurs ne sont parfois pas non plus au courant de l'existence de WAPT pour surmonter ce "problème" de déploiement.
Il faut contacter le service client de ces éditeurs et demander la version qui s'installe dans Program Files.
A bon entendeur.
Vincent CARDON
----- Le 10 Avr 20, à 12:09, Bastien HERMITTE bhermitte@b2pweb.com a écrit :
Bonjour, Personnellement, je copie l'installeur lors de l'installation du paquet, et je lance l'installation à la connexion de l'utilisateur. Pour la désinstallation, je passe sur tous les profils pour lancer le désinstalleur s'il existe. Ce n'est certainement pas parfait mais ça fait le job. Exemple avec le logiciel SolarWinds Take Control : # -*- coding: utf-8 -*- from setuphelpers import * uninstallkey = [] setup_path = r'C:\ProgramData\BeAnywhere Support Express' def install(): mkdirs(setup_path) filecopyto(r'TakeControlTechConsole-Stable.exe', makepath(setup_path, r'TakeControlTechConsole-Stable.exe')) def uninstall(): for user_path in local_users_profiles(): if isfile(makepath(user_path, r'\AppData\Local\BeAnywhere Support Express\Console', r'uninstall.exe')): run_notfatal(r'"%s" /S' % makepath(user_path, r'\AppData\Local\BeAnywhere Support Express\Console', r'uninstall.exe')) remove_file(makepath(user_path, r'\Desktop', r'SolarWinds Take Controle.lnk')) remove_tree(setup_path) def session_setup(): run(r'"%s" /S' % makepath(setup_path, r'TakeControlTechConsole-Stable.exe')) Cordialement, Bastien Le 10/04/2020 à 12:00, Franck ELIE a écrit : Bonjour Certains soft de communication tels que Tixeo et Citadel s'installent dans les répertoires %appdata\Local\ des utilisateurs. Tixeo : %appdata\local\Tixeo Soft\Communication\Client\W3DClient.exe Citadel : %appdata\Local\citadel\Citadel Team.exe Est-ce bloquant vis-à-vis de WAPT? Comment s'en sortir dans ce cas de figure ? Si vous avez des suggestions ou remarques, exemple de setup.py, je suis preneur ++ Cordialement Franck _______________________________________________ WAPT mailing list WAPT@lists.tranquil.it <mailto:WAPT@lists.tranquil.it> http://lists.tranquil.it/listinfo/wapt _______________________________________________ WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
-- Vincent CARDON, Président Tranquil IT 12 avenue Jules Verne Bâtiment A (Alliance Libre) 44230 Saint Sébastien sur Loire (FRANCE) tel: +33(0)240 975 755 https://www.tranquil.it
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt