During the COVID-19 pandemic, I was one of the lucky ones who was able to keep my job and work from home. At least, so far... It's one of the benefits of working in computer programming: you can often work from anywhere, so long as you have a functioning VPN. One of my tasks over the quarantine period was to try to configure an application to support automatic updates. These applications are UWP apps built for a Windows IoT installation on a Raspberry Pi (RPi). It's an internal application that is still in a Beta stage, so it's not suitable to release over the Microsoft Store (at least, not yet). We had been manually updating the handful of devices in the field for the past two years, and as the number of deployed devices has grown, having to send someone out to manually update them was becoming a pain. Even moreso in this new era of social distancing.

Many Windows apps can be built in Visual Studio to support automatic updates.

Windows IoT has not been the best of environments to work in. It lacks a lot of functionality built-in to other Windows environments, and documentation for it is spotty, at best. Back in 2018 (shortly after we had started deploying the apps in the field), Microsoft released an update for Windows and Visual Studio that allows UWP apps to be built such that they automatically periodically check a specified server location for new updates. Awesome! It sounded like there would be a simple solution!

Be sure to update the version number.

I built the app with auto-updates enabled for every hour, deployed it to my test RPi over the Windows Device Manager, and deployed the update package and .appinstaller file onto our test server.

Then I waited.

Select an appropriate frequency to check for updates. I set it to check every hour while testing.

And nothing happened.

...

[More]
Grid Clock Widget
12      60
11      55
10      50
09      45
08      40
07      35
06      30
05      25
04      20
03      15
02      10
01      05
Grid Clock provided by trowaSoft.

A gamer's thoughts

Welcome to Mega Bears Fan's blog, and thanks for visiting! This blog is mostly dedicated to game reviews, strategies, and analysis of my favorite games. I also talk about my other interests, like football, science and technology, movies, and so on. Feel free to read more about the blog.

Check out my YouTube content at YouTube.com/MegaBearsFan.

Follow me on Twitter at: twitter.com/MegaBearsFan

Patreon

If you enjoy my content, please consider Supporting me on Patreon:
Patreon.com/MegaBearsFan

FTC guidelines require me to disclose that as an Amazon Associate, I earn from qualifying purchases made by clicking on Amazon product links on this site. All Amazon Associate links are for products relevant to the given blog post, and are usually posted because I recommend the product.

Without Gravity

And check out my colleague, David Pax's novel Without Gravity on his website!

Featured Post

The Humanity of NCAA Football's In-Season RecruitingThe Humanity of NCAA Football's In-Season Recruiting08/01/2022 If you're a fan of college football video games, then I'm sure you're excited by the news from early 2021 that EA will be reviving its college football series. They will be doing so without the NCAA license, and under the new title, EA Sports College Football. I guess Bill Walsh wasn't available for licensing either? Expectations...

Random Post

Moral and ethical decisions in Cities Skylines?Moral and ethical decisions in Cities Skylines?12/26/2019 In my last post, I pitched an idea for a new Cities Skylines expansion pack based off of an idea that Colossal Order had posted on its Twitter account. Today, I want to look at a couple of older tweets from Colossal Order that were intended to gauge player interest in some other mechanics and ideas. Those ideas are car wrecks...

Month List

Recent Comments

Comment RSS