From: le d. <le....@la...> - 2008-12-12 10:51:18
|
Thomas Heller wrote : > Werner F. Bruhin schrieb: >> Werner F. Bruhin wrote: >>> Werner F. Bruhin wrote: >>> .... >>> >>>> Looking at the generated dist folder shows the icon you included and not >>>> a default icon (see attached jpg). >>>> >>>> I am on: >>>> Vista 32 ultimate >>>> Python 2.5.2 >>>> py2exe '0.6.6' >>>> >>>> Haven't got around to upgrade to 0.6.8 yet. >>>> >>>> Werner >>> I just upgraded to 0.6.9 and now I see this problem with no icon being >>> attached to the exe. >>> >>> I used the sample files provided by Matthias in his 11/Sept email and >>> after running setup.py the exe has the default icon instead of the >>> question mark. >>> >>> I tried the following entries: >>> 'icon_resources': [(0,'test_vistaicon.ico')], >>> 'icon_resources': [(1,'test_vistaicon.ico')], >>> >>> I noticed this also in another application I working on. >>> >>> Werner >>> >> Can anyone confirm that the icon works with py2exe 0.6.9 on Vista? > > I installed vista in a virtual machine (no aero in this) and could not see > the icons in a program build from the mentioned sample files, with neither > of the entries you have tried. > > However, the programs that I usually build show the icon fine. But I'm afraid > I have no time to debug this further. > * Using "py2exe-0.6.9.win32-py2.5.exe". I've a setup.py that builds 4 .exe, all with the same icon. Some displays it some don't. * Using "py2exe-0.6.8.win32-py2.5.exe" with Matthias Miller's patch, all icons are displayed correctly. Is it possible to include his patch in py2exe ? Maybe someone could build a 0.6.9 version including this patch for me to test it. We're very python addicts and about to use more and more Vista. So I can do some tests if necessary. |