[Bug 3591] py2exe does not work properly

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 2 21:20:09 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=3591





--- Comment #8 from Nerijus Baliunas <nerijus at users.sourceforge.net>  2007-12-02 21:20:09 ---
I tried http://www.uinc.ru/files/neox/PE_Tools.shtml. I used Tools->PE
Editor->opened file->Optional Header->Size Of Image was 00016C00. Then I
pressed "?" and it became 00016000->OK->OK. The fixed image can be run on wine,
win98 and XP, while the original image could not be run on XP.

If I make the same for py2exe's run_w.exe (which is a template here:
"See build_executable in build_exe.py - this copies the 'template' executable,
then uses py2exe_util.add_resource(), which calls the win32 functions
BeginUpdateResource, UpdateResource and EndUpdateResource.") and generate exe,
it also runs on XP. I tried to use PE Editor on PETools.exe itself, and
pressing '?' changes Size Of Image too. So it's probably common. Does anyone
know if there's
nothing wrong about fixing Size Of Image or having it incorrect?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list