I distribute my application using a VS2008 install package, which normally works great. When I create new versions of the app, I go in and increment the Version
property on the install package and verify the RemovePreviousVersions
property is set to True.
This works just fine most of the time - I just run the install package for the newer version and the older version is uninstalled and the newer version replaces it.
However, occasionally the install package will run successfully, but when I start the program the old version starts up. Apparently the old version of the .exe is still present.
I end up having to completely uninstall the software and install the new version, which always works, but is a pain.
The file isn't in use as far as I can tell and the install package doesn't tell me to reboot.
Any ideas about what's going on here?