A easy way with any OS that has some sort of easy batch file support (such
as the flavors of Windows & from what I remember Unix). Have the Prime
program download the files to the current directory (maybe a self
executable zip file). Then execute the download. The download will unzip
all the files including a batch file which when launched will replace the
nessecary files with the new ones. The orginal prime program then would
launch the batch file (maybe with a execution delay of 2 seconds) then
close itself (and unload any .dlls if nessecary). The Batch file then
takes over with the file updates, cleans up the mess, and then launches the
new prime program before it closes.
Shane
At 09:01 PM 4/12/99 -0400, Pierre Abbat wrote:
>How about this?:
>
>If mprime finds that it needs to update itself, it downloads the new files,
>renames the old ones, renames the new ones, and quits at five 'til. One
minute
>past the hour, a cron job notices that mprime isn't running and restarts it.
>
>phma
>________________________________________________________________
>Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
>
>
________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm