[Py2exe-users] compiling on vista

hello,
I'm using py2exe to distribute my app. the app includes python25, wxpython, matplotlib, numpy, and pyserial. my setup file appears to work well. the problem I'm having is that I am compiling on a vista machine and I want user to be able to install on version of windows prior to vista. I have limited knowledge of how this all works... say can a person running win2000 run my program that was compiled on my machine running vista? I tried it out and it doesn't work. I can compile on an XP machine and run on vista, but I can't compile on vista and run on an XP machine. I can compile on vista and run on another vista. I suspect this has something to do with the manifest and the dll dependencies?
Can someone explain the details/points that I need to pay attention to when trying to get this to work? I would REALLY appreciate it. I've searched around google all evening and haven't gotten very far.
thanks in advance,
Jeff

Thread view

hello,
I'm using py2exe to distribute my app. the app includes python25, wxpython, matplotlib, numpy, and pyserial. my setup file appears to work well. the problem I'm having is that I am compiling on a vista machine and I want user to be able to install on version of windows prior to vista. I have limited knowledge of how this all works... say can a person running win2000 run my program that was compiled on my machine running vista? I tried it out and it doesn't work. I can compile on an XP machine and run on vista, but I can't compile on vista and run on an XP machine. I can compile on vista and run on another vista. I suspect this has something to do with the manifest and the dll dependencies?
Can someone explain the details/points that I need to pay attention to when trying to get this to work? I would REALLY appreciate it. I've searched around google all evening and haven't gotten very far.
thanks in advance,
Jeff

Check the list of DLLs py2exe wants to include with you app, and make
sure you understand why each of them are there. IIRC, when building on
vista it may include powrprof.dll from Vista which fails to load (and
this happens even if you don't actually use anything from this DLL)
Mark
On 12/02/2010 3:35 PM, Jeff Peery wrote:
> hello,
> I'm using py2exe to distribute my app. the app includes python25,
> wxpython, matplotlib, numpy, and pyserial. my setup file appears to work
> well. the problem I'm having is that I am compiling on a vista machine
> and I want user to be able to install on version of windows prior to
> vista. I have limited knowledge of how this all works... say can a
> person running win2000 run my program that was compiled on my machine
> running vista? I tried it out and it doesn't work. I can compile on an
> XP machine and run on vista, but I can't compile on vista and run on an
> XP machine. I can compile on vista and run on another vista. I suspect
> this has something to do with the manifest and the dll dependencies?
> Can someone explain the details/points that I need to pay attention to
> when trying to get this to work? I would REALLY appreciate it. I've
> searched around google all evening and haven't gotten very far.
> thanks in advance,
> Jeff
>

ok thank you.
how do I access the list of dlls?
thanks,
Jeff
--- On Thu, 2/11/10, Mark Hammond <skippy.hammond@...> wrote:
From: Mark Hammond <skippy.hammond@...>
Subject: Re: [Py2exe-users] compiling on vista
To: "Jeff Peery" <jeffpeery@...>
Cc: py2exe-users@...
Date: Thursday, February 11, 2010, 8:36 PM
Check the list of DLLs py2exe wants to include with you app, and make sure you understand why each of them are there. IIRC, when building on vista it may include powrprof.dll from Vista which fails to load (and this happens even if you don't actually use anything from this DLL)
Mark
On 12/02/2010 3:35 PM, Jeff Peery wrote:
> hello,
> I'm using py2exe to distribute my app. the app includes python25,
> wxpython, matplotlib, numpy, and pyserial. my setup file appears to work
> well. the problem I'm having is that I am compiling on a vista machine
> and I want user to be able to install on version of windows prior to
> vista. I have limited knowledge of how this all works... say can a
> person running win2000 run my program that was compiled on my machine
> running vista? I tried it out and it doesn't work. I can compile on an
> XP machine and run on vista, but I can't compile on vista and run on an
> XP machine. I can compile on vista and run on another vista. I suspect
> this has something to do with the manifest and the dll dependencies?
> Can someone explain the details/points that I need to pay attention to
> when trying to get this to work? I would REALLY appreciate it. I've
> searched around google all evening and haven't gotten very far.
> thanks in advance,
> Jeff
>

On 13/02/2010 08:01, Jeff Peery wrote:
> ok thank you.
> how do I access the list of dlls?
It is in the output when you run setup.py.
My dev machine is on Win 7 but for years I was on Vista and didn't have
problems with building on Vista and running on XP.
The Vista dev machine sleeps "below" the Win 7 one, so if you provide a
simple setup.py and script I have a go at it on both my Win7 and Vista
machines and test on my XP test machine.
Werner

I have the same, frustrating problem, and have not found a solution,
despite many web searches and attempts at tinkering with my setup.py
script. I have not been able to figure out what DLL on Vista is being
automatically included by py2exe that is incompatible with Windows XP.
If anyone determines a specific, reliable solution for this problem,
please let us know.
Jamal
-----Original Message-----
From: Jeff Peery [mailto:jeffpeery@...]
Sent: Thursday, February 11, 2010 11:36 PM
To: py2exe-users@...
Subject: [Py2exe-users] compiling on vista
hello,
I'm using py2exe to distribute my app. the app includes python25,
wxpython, matplotlib, numpy, and pyserial. my setup file appears to work
well. the problem I'm having is that I am compiling on a vista machine
and I want user to be able to install on version of windows prior to
vista. I have limited knowledge of how this all works... say can a
person running win2000 run my program that was compiled on my machine
running vista? I tried it out and it doesn't work. I can compile on an
XP machine and run on vista, but I can't compile on vista and run on an
XP machine. I can compile on vista and run on another vista. I suspect
this has something to do with the manifest and the dll dependencies?
Can someone explain the details/points that I need to pay attention to
when trying to get this to work? I would REALLY appreciate it. I've
searched around google all evening and haven't gotten very far.
thanks in advance,
Jeff