Py2exe migration issue

Hi all,

win98, Py233, wxPy2515, py2exe050, InnoSetup 415

Thomas wrote:

I downloaded psi-58-py233.exe, and it seems to work fine.
Win XP Pro, SP 1.

A long expected good news. Thanks for having tested it. This shows
how good py2exe is.

(BTW, if somebody is interested in the used py2exe setup script
and/or in the Inno Setup script, just let me know)

Do you doubt that it works?

Not at all. You know better than me, how critical such a piece
of software can be.

What do you mean by 'concern'?

1) Maybe you missed the thread
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?12:mss:882:200403:lmdcagfagcfnmncdjcdn

2) My main concern. Having created the exe with py2exe, I noticed,
that the file OLEAUT32.dll was included in the ..\dist directory.
I was suprised by this. (I decided to not include it in the
psi-58-py233 distro).

Any idea, why and what for is this coming from?

I tested all wxPython 25* prereleases and, at the same time, I was
testing py2exe too. Unfortunatelly, I do not remember at which
prerelease - if any - this appeared. I also do not remember if
py2exe 0.5.0 was already available at the time of the first wxPy25*
prereleases or if I was using py2exe 0.4.2.
In other words, I do not know if the inclusion of OLEAUT32.dll is due
to the a wxPy25 lib or to py2exe itsself.

I am sure about one point; with py2exe 0.4.2 and wxPy <25, no system
dll file was included.

It still remains, py2exe is a great piece of code. And again, thanks
for having tested the installation of psi. I somebody can repeat the
experiment with another win platform...

Regards
Jean-Michel Fauth, Switzerland

Hi all,

Howdy,

(BTW, if somebody is interested in the used py2exe setup script
and/or in the Inno Setup script, just let me know)

I'm always interested in example scripts, particularly since the examples of setup.py you find tend to be for older versions and the syntax has changed.

2) My main concern. Having created the exe with py2exe, I noticed,
that the file OLEAUT32.dll was included in the ..\dist directory.
I was suprised by this. (I decided to not include it in the
psi-58-py233 distro).

Any idea, why and what for is this coming from?

Win9x needs it for scripts created/compiled under Win2000/XP. I myself had written some compiled wx programs on Win2K and had them crap out under Win98. I found out about OLEAUT32 by using Dependancy Walker.
I also needed Unicows.dll:
http://www.microsoft.com/globaldev/handson/dev/mslu_announce.mspx

I'm guessing py2exe now includes OLEAUT32, but you could certainly save space if you don't have a Win9x target.

Ray

Secret anti-spam filter-passing text. Include with reply:
qwertyuiop

ยทยทยท

At 04:36 PM 4/7/04 +0200, Jean-Michel Fauth wrote:

"Jean-Michel Fauth" <jmfauth@bluewin.ch> writes:

Hi all,

win98, Py233, wxPy2515, py2exe050, InnoSetup 415

Thomas wrote:

I downloaded psi-58-py233.exe, and it seems to work fine.
Win XP Pro, SP 1.

A long expected good news. Thanks for having tested it. This shows
how good py2exe is.

(BTW, if somebody is interested in the used py2exe setup script
and/or in the Inno Setup script, just let me know)

Do you doubt that it works?

Not at all. You know better than me, how critical such a piece
of software can be.

What do you mean by 'concern'?

1) Maybe you missed the thread
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?12:mss:882:200403:lmdcagfagcfnmncdjcdn

Yes, I missed this thread.

2) My main concern. Having created the exe with py2exe, I noticed,
that the file OLEAUT32.dll was included in the ..\dist directory.
I was suprised by this. (I decided to not include it in the
psi-58-py233 distro).

Any idea, why and what for is this coming from?

wxmsw251h_core_vc.dll links to oleaut32.dll, and py2exe finds this.
Due to a mistake py2exe 0.5.0 no longer has the builtin list of system
dlls, it only uses the (weak) hint that load addresses above 0x70000000
are reserved for the system. I'll add the builtin list again in 0.5.1.
For now, you can use the 'dll_excludes' option to prevent py2exe copying
this dll into the dist folder (the wiki has details how to do this).
Thanks for finding it.

I tested all wxPython 25* prereleases and, at the same time, I was
testing py2exe too. Unfortunatelly, I do not remember at which
prerelease - if any - this appeared. I also do not remember if
py2exe 0.5.0 was already available at the time of the first wxPy25*
prereleases or if I was using py2exe 0.4.2.
In other words, I do not know if the inclusion of OLEAUT32.dll is due
to the a wxPy25 lib or to py2exe itsself.

I am sure about one point; with py2exe 0.4.2 and wxPy <25, no system
dll file was included.

It still remains, py2exe is a great piece of code. And again, thanks
for having tested the installation of psi. I somebody can repeat the
experiment with another win platform...

I made a very short test on win2k, SP 4 - no problems.

Regards
Jean-Michel Fauth, Switzerland

Thomas