On that other computer, try to run Dependancy Walker and point it to the executable.. It will tell you exactly what dependencies are missing.


From: Michael Held <michael.held@bc.biol.ethz.ch>
To: py2exe-users@lists.sourceforge.net
Sent: Sunday, May 17, 2009 2:09:36 PM
Subject: Re: [Py2exe-users] *** Binary Dependencies ***

jonathan argaud wrote:
> Dear All,

> I have a problem when i try to do an .exe File with Py2exe module v0.6.5
> with Python2.5.

> At the end of the compilation, this message appear:

> *** binary dependencies ***
> Your executable(s) also depend on these dlls which are not included,
> you may or may not need to distribute them.
> Make sure you have the license if you distribute any of them, and
> make sure you don't distribute files belonging to the operating system.

>    ole32.dll - C:\WINNT\system32\ole32.dll
>    COMCTL32.dll - C:\WINNT\system32\COMCTL32.dll
>    ADVAPI32.dll - C:\WINNT\system32\ADVAPI32.dll
>    gdiplus.dll - C:\Python25\lib\site-packages\wx
>    WS2_32.dll - C:\WINNT\system32\WS2_32.dll
>    MSVCP71.dll - C:\Python25\lib\site-packages\wx
>    USER32.dll - C:\WINNT\system32\USER32.dll
>    WSOCK32.dll - C:\WINNT\system32\WSOCK32.dll
>    OLEAUT32.dll - C:\WINNT\system32\OLEAUT32.dll
>    WINMM.dll - C:\WINNT\system32\WINMM.dll
>    RPCRT4.dll - C:\WINNT\system32\RPCRT4.dll
>    comdlg32.dll - C:\WINNT\system32\comdlg32.dll
>    SHELL32.dll - C:\WINNT\system32\SHELL32.dll
>    GDI32.dll - C:\WINNT\system32\GDI32.dll
>    KERNEL32.dll - C:\WINNT\system32\KERNEL32.dll

> I don't understand why this message appear, can somebody help me please,

> Thanks you

I have a problem which might be related to this post.
first I don't understand if or if not I have to provide these windows
.dlls or if I am allowed to. at the end the only goal I have is to
provide a an applications which runs on every windows computer...

I tried a simple PyQt4 app with py2app and py2exe.
py2exe generates a directory with lot of stuff an my .exe file which is
running fine on the same machine. I copied the dist-directory to a
different machine (different python, no Qt/PyQt installed) and got the
error message
'This application has failed to start because the application
configuration is incorrect. [...]'
(Qt4/PyQt4 dlls and python26.dll are in the same directory)

what am I doing wrong? are some windows system dlls missing?


Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
Py2exe-users mailing list