Recent

Author Topic: Starting a Detached Updater App  (Read 1227 times)

TheMouseAUS

  • Jr. Member
  • **
  • Posts: 81
Starting a Detached Updater App
« on: September 17, 2024, 05:26:38 am »
Hi,
I am trying to get an app I have made to self update. I have it checking a version number, then if an update is required, I want to run an updater app, close itself while the updater replaces the binary. I seem to be really struggling. Everything I try using the TProcess examples seems to close the updater app when the parent main app closes. Can some one please direct me to some TProcess examples that will actually work?

Lazarus 3.4
FPC 3.2.2
x86_64_qt5

Thanks

TheMouseAUS

  • Jr. Member
  • **
  • Posts: 81
Re: Starting a Detached Updater App
« Reply #1 on: September 17, 2024, 05:34:39 am »
This is in the wrong place. Have reposted in the linux section

Thaddy

  • Hero Member
  • *****
  • Posts: 17102
  • Ceterum censeo Trump esse delendam
Re: Starting a Detached Updater App
« Reply #2 on: September 17, 2024, 10:09:09 am »
You can remove it.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

 

TinyPortal © 2005-2018