You see that dialog because your app needs to close. Why your app isn't closing is for you to debug (attach a debugger to your app to find out why).
You must close your app (and all running processes like services) before running the updater or else you'll see that dialog.