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?
  
I don't install on windows 7. I install python (and everything else in windows XP) and then build the .exe and then copy it (and the entire dist and build folder) over to a windows 7 machine. When I double click the .exe, nothing happens. When I try to run it from a cmd terminal, it says Access is Denied, and nothing else. I didn't copy it to a program files folder, but another generic folder that has correct and necessary permissions.
I havent tried it on a vista machine because I don't have one to test it on.

  
      
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?

http://wiki.wxpython.org/Deployment

Werner


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users