需要开发WPF查看新版本
一旦我开发了 Wpf 应用程序,我就创建了安装程序并分发给用户。如果我收到一些更改请求,我需要修复该更改并需要再次向用户提供设置。他们必须删除旧版本并重新安装新版本。
是否有任何解决方案可以避免删除和重新安装?
昌德
Once I have developed Wpf application, I have created setup and distributed to users. If I got some change request, I need to fix that changes and need to give setup again to user. They have to remove older version and reinstall new one.
Is any solution available to avoid removing and reinstalling?
Chand
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
ClickOnce 允许您轻松创建安装、自我更新的应用程序。
它是标准 Visual Studio 工具的一部分。
ClickOnce allows you to create easy to install, self-updating applications.
It's part of the standard Visual Studio tools.
这不限于 C# 或 WPF。
您必须提供一个智能安装程序,该安装程序可能能够检测文件版本和/或日期,并知道要替换哪些内容以及不要触及哪些内容。因此,安装程序可以根据情况安装或更新。
另外,Visual Studio 还附带了一个安装程序解决方案,我个人更喜欢 Inno Setup。它使安装、更新和卸载成为一项简单的任务,并且适用于每种语言。
This is not limited to C# or WPF.
You must provide an intelligent installer which might be capable to detect the file versions an/or dates and knows which to replace and which not to touch. Therefore the installer can install or update depending on the situation.
Also Visual Studio comes with an installer solution I personally prefer Inno Setup. It makes installation, update and deinstallation an easy task and works with every language.
如果 Silverlight 可以满足您的要求,则每个客户端只需安装一个 - 浏览器的 Silverlight 运行时。
当在网络服务器中修改时,应用程序将自动更新。
Silverlight 运行时与 WPF 非常相似,但请注意差异:
什么是-wpf-和-之间的差异silverlight-应用程序。
If Silverlight can fulfill your requirements, there is only one install for each client - Silverlight runtime for the browser.
The application will be automatically updated when modified in the web server.
The Silverlight runtime is very similar to WPF, but watch for the differences:
what-is-the-difference-between-wpf-and-silverlight-application.