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.

Follow me on Twitter at: twitter.com/MegaBearsFan

Patreon

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

Without Gravity

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

Featured Post

Deja vu. Is Hideo Kojima working on a Silent Hill game ... AGAIN?Deja vu. Is Hideo Kojima working on a Silent Hill game ... AGAIN?03/25/2020 Could there be good news on the horizon for Konami's flagship franchises? Last week, I started seeing an increasing number of websites, videos, and social media posts reporting on several new rumors regarding the Silent Hill, Metal Gear Solid, and Castlevania franchises, which currently are owned by Konami. Konami famously destroyed...

Random Post

A flexible ruleset makes Sails of Glory accessible and incredibly deepA flexible ruleset makes Sails of Glory accessible and incredibly deep11/14/2015 I haven't reviewed many board games. I like to play board games, and there's quite a few that I'd like to review. Sadly, it's been difficult to organize regular board game meetings over the past few years due to the ever-changing work schedules of my social circle and other adult responsibilities. Stupid jobs and chores, always...

Month List

RecentComments