Updates

One of the most important features in ClickOnce (and one of the reasons why you should use it) is the capability of updating applications without writing code to accomplish this. The idea is that you publish a new version of the application and when you run the old version, this checks for updates and automatically upgrades to the new version. Notice that automatic updates are not available for applications published to the file system. To enable automatic updates, click the Updates button and then in the Application Updates dialog, check The Application Should Check for Updates check box, as shown in Figure 55.8.

Figure 55.8 Enabling automatic updates.

For example, you can decide if the application will be updated before it starts (default ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.