I am distributing my application using the VS2008 installation package, which usually works fine. When I create new versions of the application, I enable and extend the property Versionin the installation package and verify that the property is RemovePreviousVersionsset to True.
This works very well in most cases - I just run the installation package for a newer version, and the old version is deleted, and the newer version replaces it.
However, sometimes the installation package starts successfully, but when I run the program, the old version starts. Apparently, the old version of .exe is still present.
I need to completely remove the software and install a new version that always works, but it’s a pain.
The file is not used, as far as I can tell, and the installation package does not tell me to reboot.
Any ideas on what's going on here?
source
share