Bonjour,
Wapt 1.3.13.0 Win7x64
J'ai le même problème avec la fonction : create_programs_menu_shortcut
Cordialement,
Frédéric G.
De: "Jean-Luc VERON" jean-luc.veron@nouvelle-aquitaine.fr À: wapt-request@lists.tranquil.it, wapt@lists.tranquil.it, wapt-owner@lists.tranquil.it Envoyé: Jeudi 8 Février 2018 14:39:16 Objet: [Wapt] problème package PhotoFiltre
Bonjour,
Je rencontre un problème avec le packet "PhotoFiltre 7". Je veux le déployer sur des postes en WinXP, des postes Win7 et des postes en Win10. Hors l'installation du packet PhotoFiltre est différente selon si l'OS est WinXP ou Win7/10.
Je m'explique : - la prise en charge du CURENT-USER est bien géré sous WinXP mais mal géré sous Win7/10 - la prise en charge du ALLUSERS (Public) est mal géré sous Win7/10 - la gestion du Menu Démarrer du CURENT-USER est bien géré sous WinXP mais ne fonctionne pas sous Win7/10 - la gestion des Programmes du Menu Démarrer pour ALLUSERS (Public) ne fonctionne pas correctement sous Win7/10 : la fonction "create_programs_menu_shortcut" qui permet de créer un raccourci dans le Menu Démarrer pour ALLUSERS pointe en réalité au mauvais endroit "C:\ProgramData\Microsoft\Windows\Start Menu" alors qu'il doit pointer sur le vrai dossier => "C:\ProgramData\Microsoft\Windows\Start Menu\Programs"
Tous cela afin d'avoir des gestions de déploiement homogène.
Je suis entrain de recréer un nouveau packet PhotoFiltre, mais je rencontre un problème lors de la création du raccourci dans les Programmes du Menu Démarrer pour ALLUSERS, avec la fonction "create_programs_menu_shortcut"
Actuellement : "create_programs_menu_shortcut" = "C:\ProgramData\Microsoft\Windows\Start Menu"
Comment faire pour que "create_programs_menu_shortcut" =>> "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" ???????????????
Dois-je passer par la fonction "makepath" ou puis-je faire : create_programs_menu_shortcut('\Programs\PhotoFiltre 7', os.path.join(programfiles32, 'PhotoFiltre 7', 'PhotoFiltre7.exe')) : en rajoutant " \Programs\"
Cordialement
Jean-Luc VERON Site de Poitiers Bassin de Melle Pôle Éducation Citoyenneté - Direction de l'Éducation Service Lycée Numérique
Garanti sans virus. www.avg.com
_______________________________________________ WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt