How to automatically update a multi-player client
Monday, September 1st, 2008Often on the GMC, people create topics, wanting to know the best way to automatically update the client for their online game.
It’s a tricky problem. An executable, updating itself is problematic, because while the executable is running, it can’t be overwritten. Suggestions are always cumbersome, awkward and problematic. Typically involving the client downloading the executable, then running another executable, which deletes the original executable, renames the new executable and then runs the freshly updated executable.
Variants of this technique, suggest creating a pause to ensure the original executable has completed before it is deleted, sometimes batch files are involved.
(more…)