Hi Ted

We've been going through much the same process recently - we have a 
program which is a stub that copies the app file from the server so 
having ability to read/write to the local folder is important.  We've 
ended up going the route that many, many people seem to have done and a) 
not installing under Program Files In Vista (if UAC is enabled 
everything down that tree is read-only after install) and b) forcing the 
installation folder to be read/write.

Additional stuff that may be useful if you don't know it already:

- to check permissions in the current folder, we use this code from 
Christof Lange that was posted to MSDN forums:

http://tinyurl.com/246qfu

- use API call IsUserAnAdmin() to check if user has admin rights

- using Inno rather than IE (a no-brainer in any case IMHO!)

Ted Roche wrote:
> On Jan 22, 2008 3:01 PM, Rick Schummer <[EMAIL PROTECTED]> wrote:
> 
>> A setup.exe will automatically raise permissions via UAC or the user will 
>> have to enter the admin
>> password when it is executed. The bigger problem you face is the rights for 
>> the folder being set so
>> the users can write to the tables.
> 
> Hi, Rick, and thanks for the answer. It's apparent I haven't explained
> the problem very well. Sorry.
> 
> This is a vertical niche application installed at a number of
> customers across the country. Clients run it on their network. This is
> the client's line-of-business application, running 100% of the time


-- 
Cheers

============
Brian Abbott
============


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to