VisualStudio 2010 安装 Projekt 为用户提供更新
我有一个安装项目,现在我想知道如何向我的程序的用户提供通知和自动更新。 (ClickOnce 不是机会)该解决方案包含多个项目和一个用于创建 MSSQL 数据库的自定义操作。
解决方案
- 项目1
- 项目2
- 等等
- 设置项目
看起来像这样。
所以我的问题是:
- 如何通知用户有可用更新?是否有可能将类似的东西集成到设置或主项目中?我读过一些关于结合安装项目和单击一次应用程序的内容。 (忘记链接...)
- 如何提供仅安装较新文件而不需要卸载整个 PreviousVersion 的更新?
-我的应用程序还使用 MSSQL 数据库,我如何提供数据库更新?
I have a Setup Project and now i'm at the point where i wonder how can I provide a notification and an automatic update to the users of my programm. (ClickOnce is not an opportunity) The Solution contains several projects and a custom action to create the MSSQL Database.
Solution
- project1
- project2
- etc.
- Setup Project
it looks like that.
So my questions are:
-How can I notify the users that there is an update available? Is there a possibilities to integrate something like that in the setup or the main project? I've readed something about to combine the Setup Project and Click Once Apps. (forgotten the link...)
-How can I provide an update which only newer files are installed and not the whole PreviousVersion has to be uninstalled?
-Also my application uses a MSSQL Database how can I provide a Database update?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要一个更新程序应用程序来检查更新并提示用户安装它们。 Visual Studio 没有此功能,但一些商业设置创作工具具有内置更新程序。如果您不想使用第三方更新程序,您可以自己编写一个。
这是通过补丁完成的:http://msdn.microsoft。 com/en-us/library/aa370578(VS.85).aspx
由于您的数据库是由自定义操作处理的,因此也可以通过自定义操作执行其更新。
You need an Updater application which checks for updates and prompts the user to install them. Visual Studio doesn't have this, but some commercial setup authoring tools have built-in updaters. If you don't want to use a third-party updater, you can write one yourself.
This is done through patches: http://msdn.microsoft.com/en-us/library/aa370578(VS.85).aspx
Since your database is handled by custom actions, its update can also be performed through custom actions.