Or for that I create an application that stops executables before the update and a restart when the update is finished.
You'll have to stop other running executables before you update. And if you want to restart the exes after the update then it's a simple matter of checking a checkbox. See Executing files in your update.