when i unwsied a project,if the main program of the project is running, then the un-install del all the floders and files except the main program.
how can i do,when i unwise a project if the main program is running .i want alert a dialog "are you sure to un-install this project when xxx.exe is running".
thanks.
Use a batch file to kill the process, like:
It will prompt the user are they sure or ask if they want to save changes. Use
/F
to force the process to close.