One of my hobby apps uses SQLite back end to store application data. The application is configured so that the user can click the typical “Check for Updates” button, which the web service will ask to see if the update is available. If so, the user clicks the Refresh button and downloads the new database (via HTTP), which is then installed into the application. This process is currently “modal” in that the user cannot do anything in the application until the download and installation are complete.
I am working on updating the application, and one thing I want to do is to start this update process behind the scenes, as well as Windows Update. When the application starts, the service will be requested, and if the update is available, it will be automatically downloaded, but in the background so that the user can continue to do their work. After the download is complete, the user will be prompted to install the update.
I have extensively reviewed BITS , and even though there are no APIs that I saw to use the technology, I saw some sample code and I believe that I can make it work.
But is this best suited for “background updating” for a data library, or are there any other solutions / approaches there?
source share