I am using Visual Studio 2010, I am working on a Windows application and, when I try to do an automatic update for it, I ran into a serious problem.
When a program finds a new version and tries to install it, it cannot be caused by two reasons:
1 - the application exists in my program files. so a window appears 
2 - the application is already open " the form that performed the update process ".
The problem has nothing to do with the version number.
This is about the existence of the program and the possibility of installing a new version, although the previous version is open.
source share