i have a windows application with button 'check for updates'

my problem is that when i click on 'check for updates' button, i close the program first then open it again

where my path is the path of the *.exe file

all that i need is
1- keep the program running without closing it
2- show loading image until getting result from the updater
3- show the program updater result

any idea about how to show loading and get updater result without closing and re-opening the application???