When checking for an update, many programs will shut down, run the update, and start up again.
Does anyone have a sample of how to do this with xHarbour / FWH ?
Tim
Exit to run routine
Exit to run routine
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
-
- Posts: 101
- Joined: Mon Oct 10, 2005 6:48 pm
- Location: Cd. Juarez Chihuahua
- Contact:
Hello Tim Stone
I am using a bach file for that job.
For my Xbase++ POS system
1.- My bach file, ever run a pkunzip a update file
2.- Run my POS
3.- My POS update the files, that was compressed.
---
If the POS, see via FTP a new update for the store ..
1.- It download the update file.
2.- Notify to the user, that Need to restart the computer.
Goto 1
HTH
Regards
Osvaldo Ramirez
I am using a bach file for that job.
For my Xbase++ POS system
1.- My bach file, ever run a pkunzip a update file
2.- Run my POS
3.- My POS update the files, that was compressed.
---
If the POS, see via FTP a new update for the store ..
1.- It download the update file.
2.- Notify to the user, that Need to restart the computer.
Goto 1
HTH
Regards
Osvaldo Ramirez
I need to automate more ...
I understand what you are doing and I do something similar. However, what I want to do is have my program close ( not a problem ) but then execute an operation upon closing which performs the updating, and then restart with the new version of the program.
This is very common with many programs so there must be a rather simple method.
Tim
This is very common with many programs so there must be a rather simple method.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: