Posted on 2006-04-17
I have a Product based on a few Delphi applications (.EXE). This Product runs on several PCs in several cities in my country. We started out with a few locations, so I could update the applications with little effort. But now the project is growing fast, so I need to build an update system for the applications (like anti-virus application).
What’s the best way to do that?
This is what I have in mind so far:
All PCs are already connected to a main MySQL server. And one of the applications already works with FTP. I could store the latest version of each application on MySQL, and I could build a program that would check the version of each application, download the new .EXEs when necessary, and install them. To install them, I would just have to stop the running application and copy the new EXE over the old one. I just don’t know how can I close a running application! How to I do that?
Or is there a better way to do that?
Oh, and this has to be completely standalone, the PCs don’t have any human operator. The process must be automatic.
Thanks a lot.