Program self upgrade
-
Hi all, I'm looking for ways to make my program can do self-upgrade. I just have no idea how to override the main program with the new version if it is still running.:confused:
Lisoft
If you want to upgrade it while it is running i think the only way is to put all code that might need updates inta a dynamic library. Your programm then simply needs to reload the library and you're done. But this will still require some kind of interruption in the regular flow. This is just a general idea, i hope it applies to your problem. (can i say that - "it applies to your problem" ? or is it bad english ?)
-
Hi all, I'm looking for ways to make my program can do self-upgrade. I just have no idea how to override the main program with the new version if it is still running.:confused:
Lisoft
Updating an EXE while it's running won't work so here's how I do it basically (just one possible way)... 1) During initialization check if upgrade available 2) If upgrade available start upgrader application and exit. 3) Upgrader app copies/overwrites new files 4) Upgrader app starts the original app and exits
-
Hi all, I'm looking for ways to make my program can do self-upgrade. I just have no idea how to override the main program with the new version if it is still running.:confused:
Lisoft