Jeff Johnson wrote:
Dj Gilcrease wrote:
I have a python app that requires elevated privileges on Vista when
installed in "Program Files" since it has an auto updater. I was
wondering if there was a way with a standard install of python 2.6
that I can check if I have the correct privileges and if not relaunch
the app required privileges.


Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
I have an application that uses something that auto updates but it may not be the same process as yours. I have a "stub" executable that checks a network location for a different copy of the "real" executable. If one exists, it copies the exe to the application folder and executes it. My solution for Vista - which works very well - is to put my application in a folder C:\users\public\applications\myapplication.

This way there is no need for raised privileges.


The only problem with installing in public folder that is it allows non-privileged (read: any) user to modify the program; which might be unwanted for some apps.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to