There may be occasions when you want to require users to run an updated version of your application. For example, you might make a change to an external resource such as a Web service that would prevent the earlier version of your application from working correctly. In this case, you would want to mark your update as required and prevent users from running the earlier version.
Note: |
|---|
Although you can require updates by using the other update strategies, checking
Before the application starts is the only way to guarantee that an older version cannot be run. When the mandatory update is detected on startup, the user must either accept the update or close the application.
|
To mark an update as required, click Specify a minimum required version for this application in the Application Updates dialog box, and then specify the publish version (Major, Minor, Build, Revision), which specifies the lowest version number of the application that can be installed. For more information, see Application Updates Dialog Box.
This is the same as setting the minimumRequiredVersion attribute of the Deployment element in the deployment manifest; for example:
<deployment install="true" minimumRequiredVersion="1.0.0.0">