Thanks Eric ,
Although py2exe did warn me towards the end of its build output that I my binary did depend on quite a few dlls.
Once I left out the Dlls from the system32 folder( the Microsoft OS Dlls) the application ran just great on windows xp 32 bit.
On Friday, January 27, 2012, Fahlgren, Eric <email@example.com> wrote:
> I'm pretty sure you do NOT want to be packaging and redistributing the Microsoft runtime libraries, that should be left to Microsoft. If you find a machine on which the winsock dll is missing, I'd try running the vcredist.exe for the compiler version that was used to build whatever version of python you are running. You should be able to find these out on msdn.com.
> What you are trying to do works fine. I build a single py2exe on Win7 64, then run it on XP 32, Win7 32 and Win7 64. Heck, it even runs on our Server 2003 box, now that I think about it.
>> -----Original Message-----
>> From: hari jayaram [mailto:firstname.lastname@example.org]
>> Sent: Friday, January 27, 2012 2:02 PM
>> To: email@example.com
>> Subject: [Py2exe-users] system32 dlls from windows 7 64 bit wont work on
>> windows XP 32 bit?
>> Hi I am running windows 7 - 64 bit on my primary machine.
>> Using 32 bit python and py2exe I created an exe file for a wxpython
>> application which I want to be able to use it on my other machines that
>> are running windows XP 32 bit or windows vista 32 bit.
>> The py2exe build on the devloper windows 7 , 64 bit machine does indicate
>> I need several system32 directory DLLs which I am providing.
>> However the resulting exe files dont launch on Vista 32 bit or windows XP
>> 32 bit saying either nothing i,e just closing the console window
>> instantly ( vista) or prompting a dialog with the message "
>> C:\Myapplication\bin\WS2_32.DLL seems to be the wrong kind".
>> Checking the Windows 7 provided DLL against the WIndows XP DLL revealed
>> that the XP 32 bit WS2_32.dll was only 80 kb as compared to the 290 kb dll
>> on windows 7.
>> My question is : it seems like I cannot build a windows executable meant
>> for a 32 bit windows OSes on my 64 bit windows home OS.
>> Is there a way to achieve this.
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers is
>> just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> Py2exe-users mailing list