Check out Doug Hennig's take on what to do:

http://doughennig.com/papers/..%5CPub%5CVista.pdf

Frank.

Frank Cazabon

On 09/01/2013 12:53 PM, John Weller wrote:
That explains why my loader program doesn't work!  It was fine under XP but
fails in Win 7.  What it does is install the exe in Program Files on the
workstation then, when it runs, looks for a file called LocalCfg.DBF.  If it
can't find it, which it won't on the first run as it won't be there, it
creates it,  asks the user where the data is and stores the path in the DBF
for use by the system then calls the main exe.  It also checks on the
version no of the master version on the server and compares it with the
version on the workstation and if the server version is later downloads it
to the workstation.

Obviously this approach won't work any longer - what does the team recommend
as an alternative?  Would I be better installing the program in its own
directory rather than Program Files?

TIA

John Weller
01380 723235
07976 393631


You are on Vista, 7, or 8, and running with User Access Control (UAC)
enabled.
Microsoft added a new feature in Vista to prevent files from being written
or
changed in protected folders. Program Files and Program Files (x86) are
part
of these protected areas.
They are saved per user. If you had logged in to the Windows OS with a
different username. Those files would not have been available to you.


[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/50eda33e.1000...@gmail.com
** 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