You can configure your ClickOnce application to scan for updates on startup, scan for updates after startup, or never check for updates. To scan for updates on startup, ensure that the beforeApplicationStartup element exists under the update element.
To scan for updates after startup, ensure that the expiration element exists under the update element, and that the update intervals you want are provided.
To disable checking for updates, remove the subscription element. When you specify in the deployment manifest to never scan for updates, you can still manually check for updates by using the CheckForUpdate method.
For more information on how deploymentProvider relates to updates, see Choosing a ClickOnce Update Strategy.