Closed amir1376 closed 1 month ago
- find PID of the app in task manager and try to stop it gracefully using cmd
taskkill /PID <PID>
- after that you will see that app still remains in task manager!
Killing the process via the process name works:
@sitiom That's right, but you use /F
here! which tries to force
stop the app (non graceful stop)
The default installer does not have this flag to stop the app by force ,and there is no way to configure it to do so (as far as I know)
To reproduce this just install a previous version and when app is running try to install the latest version! You will notice that the installer can't stop the app and ask you to restart the computer to finish the installation!
Finally I created an nsis installer
for the app. now we can have more control and customization in windows
There are some problems when we want to install the app
if users want to update the app when app is already running the installer can't close the app gracefully and it breaks the installation process or even corrupt the installation directory ( user have to manually close the app in
system tray
in order to successfully update the app)another problem is that after each installation
APP_ID
will change! so installer can't detect previews installation location!I already created an issue in the compose issue tracker and waiting for their response