【发布时间】:2014-05-07 09:16:38
【问题描述】:
可能有人问过以下问题,如果是,请相应地指导我。
我有一个要求,我需要实现以下目标。
1. Check for new version of the application.
2. Download the latest version in a background mode without troubling the user current operation.
3. Prompt the user about the new version to "save the current work" and then exit and restart the application
4. After the application update is complete, remove the older version, but copy the old user settings file to the new version installed folder
对于#1、#2 和#3,我已经成功实现了我需要的参考:http://www.thejoyofcode.com/Taming_ClickOnce_ndash_taking_charge_of_updates.aspx。
但是对于#4,我不确定如何继续。
【问题讨论】:
标签: c# wpf visual-studio-2012 clickonce .net-4.5