Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launcher for Windows 7
Message
From
13/07/2010 02:18:12
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01471245
Message ID:
01472315
Views:
103
Lynda, I'm no expert but my understanding is that UAC does not want apps silently updating themselves or each other without admin privileges, period. I believe that admin privs may not be needed if the exe is installed in a user-specific folder such as %appdata%, but I have no experience of that. I'm also told that if your app includes a service with admin privileges, the service will be able to quietly update stuff, which is how virus scanners and the like do it.

We use the program files hierarchy and supply an updater app whose manifest requires privileges escalation. Actually if an exe is labeled "update.exe" I believe that Win7 always will require admin escalation, so all your main app would need to do is call update.exe and then terminate itself immediately so it can be overwritten.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform