exe file replace using QProcess
-
@4j1th
Ok. that makes it easier to get it to close. :)
Will user check for update from inside the program or how will that happen?
(if i may ask) -
@4j1th
Ok. that makes it easier to get it to close. :)
Will user check for update from inside the program or how will that happen?
(if i may ask) -
@4j1th
Ok. that makes it easier to get it to close. :)
Will user check for update from inside the program or how will that happen?
(if i may ask) -
@4j1th said:
well on windows its not so hard using windows API. -
wrote on 16 Dec 2015, 19:19 last edited by
There is a link to an article that talks about this problem and possible solutions. http://www.catch22.net/tuts/self-deleting-executables on Windows.
I, personally, would try to keep this sane. A separate updating utility that closes the original program and replaces or removes whatever should be replaced or removed is probably the safest thing to do.
-
There is a link to an article that talks about this problem and possible solutions. http://www.catch22.net/tuts/self-deleting-executables on Windows.
I, personally, would try to keep this sane. A separate updating utility that closes the original program and replaces or removes whatever should be replaced or removed is probably the safest thing to do.
I, personally, would try to keep this sane. A separate updating utility that closes the original program and replaces or removes whatever should be replaced or removed is probably the safest thing to do.
I completely agree!
-
Hi,
One possibility would be to use the Qt Installer Framework that, AFAIK, has an updating functionality
-
;)
Do not worry
he is not planning on overwriting the exe from WITHIN the exe :)
Even @Rondogs link is pretty interesting,
it does indeed smell of a complex way of shooting your foot off :) -
Hi,
One possibility would be to use the Qt Installer Framework that, AFAIK, has an updating functionality
wrote on 17 Dec 2015, 15:42 last edited by 4j1th@SGaist
tried qt installer framework but I don't think it can help the auto updating, launch a topic on this please see this linkhttps://forum.qt.io/topic/61811/qt-installer-framework-auto-update
21/29