Answer the question
In order to leave comments, you need to log in
How to implement program update via Google Drive/Dropbox in Delphi?
Hello everyone, while developing the application, there was a requirement to update the application. I already know how to do it with an FTP server, but is it possible to do it without one? For example using Google Drive? Very convenient and reliable. Perhaps someone has experience in working with the Google API using Delphi, I will be very grateful for tips and answers. (as an option, DropBox or other cloud service is possible)
Answer the question
In order to leave comments, you need to log in
If you are considering paid ready-made solutions for working with a cloud service, then I advise TMS . Of the free ones, unfortunately, I could not find sane analogues. I would be glad if someone could give me some advice.
But if you decide to configure the application update via http (or even return to ftp), then TWebUpdate is better . Everything is built-in, no dlls and additional files, plus localization and quite flexible settings.
The best way to do this is by downloading the update from the site - no need to fool around with the API, etc. You can take WinSparkle - one dll, with which it is easier to easily configure the auto-update of the program.
On Google Drive, look at this blog - http://www.webdelphi.ru
We install and update the program, implemented through the installer (Inno Setup).
On the site, next to the installer, there is an xml with the version and date (the date for the message). The program downloads the xml, checks the version and, if necessary, offers to update. Then it downloads the installer, starts it in silent mode (and some other parameters) and closes the program. After the update, the installer starts the program.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question