On gio, 2010-12-30 at 18:08 +0100, Krzysztof Jakubczyk wrote:
> Hi,
> there  is a problem with applications using win32com under systems like 
> Windows Vista or Windows 7. Current rthook uses application directory to 
> generate some python files. Usually it's somewhere in Program Files (or 
> Program Files x86). Unfortunately regular user doesn't have permissions 
> to write to such directory. Maybe it would be better to use temp 
> instead?? I've attached changed rthook file.

I might be wrong, but shouldn't the contents of the temp dir be cached
somehow? From your patch, it looks like they would get regenerated every
time the application runs.

Maybe it's better using a directory in Application Data for instance?
Something like AppData\PyInstaller\AppName?
-- 
Giovanni Bajo      ::  Develer S.r.l.
[email protected]  ::  http://www.develer.com

Blog: http://giovanni.bajo.it
Last post: Compile-time Function Execution in D

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to