On Thu, 7 Oct 2010, Sven Barth wrote:

Am 07.10.2010 13:43, schrieb Michael Van Canneyt:


On Thu, 7 Oct 2010, Sven Barth wrote:

So: Norms ? Thank you, but I'll pass on that and implement what I
perceive as
simple and correct :-)

If the applications would keep their read only files in 'c:\program
files' and write only into those directories that they should (e.g.
user's appdata and global appdata (although this one should not be
used for sharing writable files...)) we wouldn't have all these
problems (virtual file store, UAC, etc.).

Some applications must write in the application directory.

Our apps do automatic updates at least once a month. The updates cannot
be postponed. I don't see how this can be achieved without writing in the
application directory.

As "updating applications" is an administrative task it should only be done by those users that are allowed to do that.

Yes, but if the administrator must update 20 PCs manually every 2 weeks,
he quickly complains that he has better things to do, so it must be done
when the 'ordinary' user uses the application.

I'm not making this up, it's just real life.

I am aware of the theory and the good practices, but in a commercial
environment, different rules enter the game. I just haven't found a
satisfying solution yet :-)

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to