[python-win32] permissions error

Tim Roberts timr at probo.com
Fri Feb 12 19:37:38 CET 2010


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.



More information about the python-win32 mailing list