In the course of the latest update to my application I forgot to check one required file as listed by the import Visual Studio project wizzard. As the file in question was a rather important dll my app when it restarted after the update process failed rather spectacularly.
Fortunately it was pretty obvious what I had done wrong, and it was easy to rectify. I then on my test machine uninstalled the broken build and re-installed the previous build. It then saw the corrected update and downloaded it. However when it ran the same fault appeared again. This time however I knew that the fault had been corrected. What I assume happened is that although the updater saw that there was an update available and it went through the motions of downloading the updated msi it did not overwrite the file in the users application data directory that was there with the same name.
If I mannually deleted the faulty msi first and then ran the updater the correct file was run and the program worked.
So my question is essentially if the updater downloads a file, but a file with that name already exists (in the default location where you have told it to download files to) will it automatically overwrite by default, or have I inadvertently discovered a bug (because I should have thought that this should be the default behaviour).
On a seperate note, when the wizzard that imports files that it knows are needed for a visual studio project it lists them in a fairly small dialog. Granted you can rezize the dialog by dragging it's borders to enlarge it, but it would be nice if it had a maximise button on the form.
Dom
FOLLOW US
Get the latest news in Application Packaging