[Tutor] Vista UAC

Jeff Johnson jeff at dcsoftware.com
Fri Sep 11 02:13:37 CEST 2009


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.

-- 
Jeff

Jeff Johnson
jeff at dcsoftware.com
Phoenix Python User Group - sunpiggies at googlegroups.com


More information about the Tutor mailing list