chris.mo...@biuk.co.uk wrote:
I have a set of programs that need to be updated. In the past I have
used the "am I already running?" -> "rename running" -> "replace
running" -> "restart" method to auto update.
But (there's always a but) My company has invested in terminal servers.
Sooo...... my program is ALWAYS running and I can't rename because
someone else has it open.
Can someone give me a clue?
In an environment where many people are sharing a single installation, I
wouldn't expect the administrator to *want* auto-updating programs.
Wouldn't an environment like that have change controls in place?
The admin sends out a message to the company saying that server ABC will
be down for maintenance between the hours of X and Y (usually outside
normal business hours). When X arrives, the admin logs everyone off and
runs the update installer. When it's finished, the admin sends another
e-mail saying that the maintenance was successful and that access to ABC
is restored.
The program running as an ordinary user wouldn't be allowed to update
itself anyway.
--
Rob
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi