Re: [Tutor] Vista UAC

2009-09-11 Thread Lie Ryan
Jeff Johnson wrote: Lie Ryan wrote: Jeff Johnson wrote: 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

Re: [Tutor] Vista UAC

2009-09-11 Thread Jeff Johnson
Lie Ryan wrote: Jeff Johnson wrote: 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 applic

Re: [Tutor] Vista UAC

2009-09-11 Thread Lie Ryan
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

Re: [Tutor] Vista UAC

2009-09-11 Thread Lie Ryan
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

Re: [Tutor] Vista UAC

2009-09-10 Thread Jeff Johnson
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

Re: [Tutor] Vista UAC

2009-09-10 Thread Alan Gauld
"Dj Gilcrease" wrote 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. I haven't checked what the standard os functions do on Windows but you can always use ctypes to access t

[Tutor] Vista UAC

2009-09-10 Thread Dj Gilcrease
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.