Bonjour,
Je rencontre un problème avec la fonction
create_user_programs_menu_shortcut() lorsque le paquet est installé avec
le compte SYSTEM (waptexit ou forcé via la console).
Cette fonction marche bien lorsque lancée en administrateur ou via le
session-setup, mais dès qu'elle est lancée avec l'utilisateur SYSTEM, on
tombe sur cette erreur :
/Traceback (most recent call last)://
// File "C:\Program Files (x86)\wapt\common.py", line 3512, in
install_wapt//
// exitstatus = setup.install()//
// File "c:\windows\temp\wapt68nsfu\setup.py", line 43, in install//
// File "C:\Program Files (x86)\wapt\setuphelpers.py", line 543, in
create_user_programs_menu_shortcut//
// sc = os.path.join(winshell.programs(0),label)//
// File "C:\Program Files (x86)\wapt\lib\site-packages\winshell.py",
line 182, in programs//
// return get_path ((shellcon.CSIDL_PROGRAMS,
shellcon.CSIDL_COMMON_PROGRAMS)[common])//
// File "C:\Program Files (x86)\wapt\lib\site-packages\winshell.py",
line 140, in get_path//
// return shell.SHGetFolderPath (0, folder_id, None, 0)//
//com_error: (-2147024893, 'Le chemin d\x92acc\xe8s sp\xe9cifi\xe9 est
introuvable.', None, None)//
//-2147024893 : Le chemin dÆaccÞs spÚcifiÚ est introuvable./
Visiblement c'est depuis WAPT 1.6 que cela se produit.
Est-ce un bug ou le problème vient de moi ?
Merci d'avance.
Cordialement,
Bastien