Ideas for an auto-updater
Posted: Tuesday 21st June 2022 11:06am
Hi, folks
-------------------------------------------------- The Scenery ---------------------------
I've made at about 20 integrated programs for the same company (sales, production, invoicing, laboratory, etc) using gambas and postgres. The database runs on a local network server and each program on the user's desktop.
At least once a week I need to update one or more programs. I do so and upload the gambas program to the server.,
------------------------------------------------- The needs and what I've done --------------
Each time I upload an updated program, I has to feed a table named "versions" with the name and version number of the program.
Each program has a initial login form. At the form.open sub it searches for a higher version of itself and, if positive, calls another little program to close the first one, grab the newer version and open it. All of with the user's permition.
------------------------------------------------ The problem --------------------------------------------
One updater for each program.
If I forget to feed the versions table nothing happens.
Does anyone have any ideas?
-------------------------------------------------- The Scenery ---------------------------
I've made at about 20 integrated programs for the same company (sales, production, invoicing, laboratory, etc) using gambas and postgres. The database runs on a local network server and each program on the user's desktop.
At least once a week I need to update one or more programs. I do so and upload the gambas program to the server.,
------------------------------------------------- The needs and what I've done --------------
Each time I upload an updated program, I has to feed a table named "versions" with the name and version number of the program.
Each program has a initial login form. At the form.open sub it searches for a higher version of itself and, if positive, calls another little program to close the first one, grab the newer version and open it. All of with the user's permition.
------------------------------------------------ The problem --------------------------------------------
One updater for each program.
If I forget to feed the versions table nothing happens.
Does anyone have any ideas?