Do you allow users to check for a new version easily?

Last updated by Tiago Araújo [SSW] almost 3 years ago.See history

It is important to give users the ability to check for a new version of the application they are using. And once located it should be easily downloaded and installed. You need:

  1. A visual identifier such as a tick or a cross on the main menu
  2. A "Check for Updates" option in our Help menu.

Remember:

  • This is mainly for Windows Forms, but you can do the same for new versions of Web Applications - e.g. a knowledge base package or Reporting Services Application.
  • You can do a complete check of your PC at the click of a button using SSW Diagnostics.
  • Since this check occurs over the web, you should use threading to avoid slowing down the forms responsiveness. This is a generic component that is available in the SSW .NET Toolkit.
  • If the UI is a Windows Service, be aware that they don't open up the UI very often. Therefore you can't rely on this method. In a coming release Diagnostics will ask for your email and let you know when updates are available for you PC.

Figure: Bad UI - a nagging message box that forces the User to click OK

Figure: Good UI - Show a Tick when the application is up to date

Figure: Good UI - Show a Cross when the application is out of date

To keep the consistent look and consistent code, we have implemented our version checker as a user control.

Figure: SSW.Framework.WindowsUI.VersionStatus

As it is a user control, we can easily implement this in all our applications. We just need to place the user control on the winform, and have the ProductDownloadID and ProductLatestVersionURL entered with the correct values.

Figure: Enter the ProductDownloadID and ProductLatestVersionURL

Figure: Include 'Check for Updates' in your applications

We open source. Powered by GitHub