Need to develop WPF to check new version
Once I have developed Wpf application, I have create开发者_如何转开发d 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
ClickOnce allows you to create easy to install, self-updating applications.
It's part of the standard Visual Studio tools.
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.
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.
精彩评论