I have a WPF app which working in kiosk machine. My app will check for update whenever in idle time. If new version is exist, app will run a bat file. It will kill current process, uninstall app, re-install new version and open app after installing.
What I have tried:
When I run bat file by using Process.Start(), bat file is not continue working if app is closed. So I tried to create a new task in Task Scheduler for this bat and call to run it in idle time then my app is working right. However console window always displays whenever task run, is there any way for me to hide or close it?
Also, I have a more concern that when app is closed to update, I want to display a picture or any else to notify user that app is maintaining. How could I do that?