|
|
 | | From: | Spectra9 | | Subject: | Terminating running app before install | | Date: | Tue, 21 Dec 2004 09:28:29 +0700 |
|
|
 | Hi all, Currently I'm developing an app which stays on the system tray (stays running by default). The problem is when I'd like to do an update, it cannot replace the EXE because it's currently running. Is there an easy way from Innosetup to terminate it gracefully prior to an update?
|
|
 | | From: | AGP | | Subject: | Re: Terminating running app before install | | Date: | Tue, 21 Dec 2004 16:39:59 -0600 |
|
|
 | Thats something you have to build into your app. So maybe you can pass it a parameter to stop it. From Inno you can issue that parameter and then continue with Setup.
Alternatively you can creat an AppMutex inside your app. Then tell Inno about the AppMutex and manually tell the user to shut it down if it is detected by Inno.
AGP
"Spectra9" wrote in message news:cq81gq$j1s$1@news.jrsoftware.org... > Hi all, > Currently I'm developing an app which stays on the system tray (stays > running by default). The problem is when I'd like to do an update, it cannot > replace the EXE because it's currently running. Is there an easy way from > Innosetup to terminate it gracefully prior to an update? > >
|
|
|