Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why vfp program doesn't work with windows user limited ?
Message
From
27/07/2007 05:32:54
 
 
To
26/06/2007 21:55:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01222138
Message ID:
01244041
Views:
28
Hi Doug

>The only problem with ProgramData is that while it's read-write for the user that creates the folder, it's read-only for other users (unless you change folder permissions).

Have you tried writing to ProgramData using a VFP app that has a manifest built into it?

I have added a manifest to my app using Calvin Hsia's code that sets the requestExecutionLevel to 'asInvoker'.

I then carried out some tests using an Admin User and a Standard User and with UAC on and off.

It appears to me that c:\ProgramData is treated differently to c:\Program Files and c:\Windows. As far as I can tell my app with a manifest was able to successfully write to c:\ProgramData regardless of the User type or the UAC setting I chose, so even a lowly Standard User with UAC turned on was able to do it. I should stress that adding a manifest prevents virtualizaton from occuring so these were real writes and were not writes to a copy of the file in the VirtualStore.

I am concerned that nobody has yet come up with a clear indication of what should be done where we want to install an application that has data which is not user-specific. I would like to have my findings confirmed or disproved if anyone is interested enough to investigate this.

David
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform