Game Development Reference
Pushing Application Updates
A great feature of ClickOnce deployment is the ability to push new versions of a
product to its users from a centralized location. Applying updates using ClickOnce
is extremely easy, and there are also a few deployment settings that can be specified,
depending on how you want your updates to be given to the users. Some users
really dislike having updates installed automatically, so if appropriate, you can tell
ClickOnce to prompt the users if they wish to install the new updates. You can also
enforce certain minimum versions on the users so that every user has at least a cer-
Figure 44.14 shows the configuration screen for application updates. This screen is
accessed by clicking on the Updates… button, and is used to specify the version-
ing strategy used by ClickOnce.
Application update configuration
screen for ClickOnce.
After you make changes to the application, all you need to do is republish the
application, and the new version will be available to users the next time they request
the deployment manifest.
Try making a new noticeable change to our simple application, like the one shown
in Figure 44.15, and republish the application.
With the new update available, navigate to the publish.htm page that is automati-
cally generated by ClickOnce. Remember that we specified the publisher informa-
tion, so there is much more information on this page than before. Figure 44.16
shows the updated web page.