HighTechTalks DotNet Forums  

Re: distributing programs on server

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss Re: distributing programs on server in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Merlin
 
Posts: n/a

Default Re: distributing programs on server - 07-10-2003 , 07:20 PM






Doesn't closing files this way crash your program on users machines?

I can think of only two ways to accomplish your task:-
1) Auto install the application locally at user login.

2) Place a timer in the application that checks say every 5-10 minutes for
the existence of a file (e.g CLOSE.APP) you create or your program creates,
and when found will notify each current user the program will shutdown and
then get the program to automatically gracefully close, and maybe also auto
run another small program that keeps the user informed that the application
is being updated, this too having a timer that will restart the main
application when the existence of the file has been deleted.

So users don't attempt to run the app again before you have updated, you
could always have a small app that runs the main app and before starting the
main app checks for the existence of your file.

Merlin
"Lucas" <lgoss (AT) sheriffleefl (DOT) org> wrote

Quote:
What is the best way to distribute a program on a server.
We have over 400 employee's so installing the software on
everyone's machine isn't very feasible, especially since
we upgrade the program about once or twice a month.

Right now when we just copy the executable to the server,
but to update an application on the server we have to kick
everybody out of the program through the Administrative
Tools->Computer Management->Shared Folders->Open Files,
and we have to close all of the open files, one at a time,
before updating the program.

Is there a simpler way to do this? Or can a tool be
created to connect to the server and close all of the open
files for a certain program, and if so what library do I
need to look at to implement this?

Thanks,
Lucas



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.