this will be the same issue I am running into. The ....exe.log file is written in the install dir and Win 7 does not allow that.

Does anyone know a flag to pass to py2exe to determine where these files are put? (or should I hack py2exe to circumvent this issue?)


Werner F. Bruhin wrote:
Astan Chee wrote:
Werner F. Bruhin wrote:
I did that before I move my dev machine to Win 7 and had no problems.
I now py2exe my app in Win 7 and deploy to Win 7, Vista and XP without 
any problem.

"Access is denied" points to a permission issue and I don't think this 
is caused by py2exe.

How do you install it on Win 7?  Are you making sure that nothing user 
writable is installed into "program files" folder - this is not 
permitted as of Vista already.
What is the answer to the above?
Ah, you are using py2exe in windows 7? I'm using py2exe in windows XP.
Using XP and deploy to Win 7 is not your problem!

This sounds like I have to use py2exe in windows 7 to make executables 
for windows 7. Has anyone else managed to make executable for windows 7 
from windows XP?
I developed on XP and deployed to XP, 2000, Vista and 98, then I 
developed on Vista and deployed to XP, 2000, Vista and 98, now I 
develope on Win 7 and deploy to XP, 2000 and Vista, no longer to 98 but 
that was my decision and nothing to do with py2exe.

What file gives the access denied error?
It doesn't say what file, it just says access is denied.
How are you running the exe?  Do you have permission to the exe and the 
folder containing the exe?  Do you have permission to all the files 
needed by the exe?

What folder have you installed to, how did you install?

Can you try to build the test script from the following wiki page?


Return on Information:
Google Enterprise Search pays you back
Get the facts.
Py2exe-users mailing list

perzonae sig
perzonae logo Paul Sijben tel: +31 33 7114626
Perzonae Unified Communications BV mobile: +31 646272086
Amersfoort, the Netherlands