Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

General Discussion on Database Updates and Application Updates

$
0
0
Good Day,

In the past I got great tips and guidance for a problem I had using this forum. So I thought I would as the Guru's again for some more guidance/tips

What would be considered a good way to create a auto updater? Currently I have this in mind and semi working:

Client application updates:
  • Is checked from inside the app for a version number increment via http
  • If the version number is higher then launches a downloader app
  • the downloader app make a backup of the current app executable renames it to app.exe.backupdate
  • the downloader app downloads the new installer (NSIS Created) and does a silent install
  • launches the new update application when done




For the database updates it seems it is going to be a bit more "interesting" and I do not have a working solution yet.
I had the following suggestions from various sites (my database uses MySQL/MariaDB for those who want to know)

  1. Do a CRC check on the database, tables , columns, rows etc to see if the data is different
  2. Import small sql updates that overwrites or adds new data
  3. Use a xml file with the updates and apply the updates via code
  4. to a manual dif on 2 sql databases to create a new sql with the "updates"
  5. import a fresh database every time (not an option really database is 400+ megs and growing)
  6. export every records a small sql file number against indexes



For the database updates a "nice to have" would be that the update mechanism uses encryption/zipped with a password to prevent data theft.



Any suggestions/Ideas/Pointers? I would really appreciate it!

Viewing all articles
Browse latest Browse all 21278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>