[python-win32] permissions error

Jeff Peery jeffpeery at yahoo.com
Sat Feb 13 04:08:34 CET 2010


hello,
yes, I am using 64 bit vista. and I am using py2exe to distribute my app. At the moment I'm dead in the water unti lI resolve this issue. Does anyone know of a quick fix?
 
thanks,
Jeff

--- On Fri, 2/12/10, Tim Roberts <timr at probo.com> wrote:


From: Tim Roberts <timr at probo.com>
Subject: Re: [python-win32] permissions error
To: "Python-Win32 List" <python-win32 at python.org>
Date: Friday, February 12, 2010, 10:37 AM


Dave Angel wrote:
> 2) Are you running a 64bit version of Vista?

Yes, he is.  The path "Program Files (x86)" is prima facie evidence of
this.  He's running 32-bit Python on a 64-bit system.  And that's just fine.


> 3) What do you mean by "compile" and "compiled executable"?

It means he has used something like "py2exe" to turn his Python code
into an executable.

This is a real problem, and one that pywin32 probably needs to address. 
On Vista and beyond, the "Program Files" directories are not writable by
non-elevated programs.  The win32com-generated wrappers need to go
somewhere else, like "Local Settings\Temp" or "Local Settings\Apps".

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100212/b23b9da0/attachment.htm>


More information about the python-win32 mailing list