Windows will automatically update apps when they are available (the user can turn this off).
Generally the only time you need to force an upgrade is when connecting to a version specific server, and the app and server can negotiate the version and let the user know that an update is needed.
Beyond that you'll need to write your own solution.