I've got an application that I'm trying to deploy with ClickOnce. Everything works fine if I install the update via publish.htm. But if I start the now outdated application and let it discover that there is an update, the update process doesn't retain the settings in user.config. I've got a ApplicationVersion setting that appears to work fine as long as I update via publish.htm.

What's the difference?