Dela via


Application Updates Dialog Box

This dialog box specifies how the application installation should check for updates.

To access this dialog box, select a project node in Solution Explorer, and then, on the Project menu, click Properties. When the Project Designer appears, click the Publish tab. On the Publish page, click the Updates button.

  • The application should check for updates
    This specifies that the application check for updates upon installation. By default, this is cleared. If you select this option, the options for Choose when the application should check for updates become available.

    To configure the application to check for updates programmatically based on an event such as a user request, this check box must be cleared and you must also specify an update URL in Update location. For more information, see How to: Manage Updates for a ClickOnce Application.

  • After the application starts
    This specifies that updates not be installed until the next time that the application is run. Choose this option to speed up application start time.

  • Before the application starts
    This specifies that the application check for updates before it starts. This ensures that users who are connected to the network always run with the latest updates.

  • Specify how frequently the application should check for updates
    The choices are Check every time the application runs (the default) and Check every, for which you specify a number of weeks, days, or hours. This option is available only if After the application starts is selected.

  • Specify a minimum required version for this application
    This specifies the lowest version number of the application that can be installed. An end user who has a lower version number of the application will be required to upgrade to the minimum required version. Each part of the publish version (Major, Minor, Build, Revision) can have a maximum value of 65355 (MaxValue), the maximum allowed by Version.

  • Update location (if different than publish location)
    Specify the location of the application updates. This must be an HTTP or UNC location.

See Also

Tasks

How to: Manage Updates for a ClickOnce Application

Concepts

Choosing a ClickOnce Update Strategy

Reference

Publish Page, Project Designer