Squirrel / Squirrel.Windows

An installation and update framework for Windows desktop apps
MIT License
7.23k stars 1.02k forks source link

fix multiple start errors #1873

Closed dansadley closed 5 months ago

dansadley commented 5 months ago

During setup, if a user performs mutliple extra mouse clicks while activating the installer, it will result in an error because the code is leaving the other instances of itself alive when performing the install. The result is it tries to burn itself to the ground and the file is locked due to being in use by the other process. It subsequently throws unhandled exception errors.

This change will check the processes if there is more than one of itself running and skip the entire install task after trying to log the event.

dansadley commented 5 months ago

I am making further changes...