I have a Windows based software written in C# as a BackgroundWorker
class, communicating with Azure IoT Hub (bascially a remote control/management endpoint).
It runs as a Windows service.
I would like to leverage IoT Hub Device Update, for this Windows agent, using th Package Update method - and have it update the service with the released software.
I can see a tutorial for Ubuntu, but nothing for Windows and only mention of porting to other platforms - before i start going down a rabbit hole and implementing a Windows platform layer, looking for any examples/implementations for Windows specifically.
I'm a PM on the Device Update for IoT Hub team. In general, we intend Device Update for IoT Hub to be our first effort at bringing the kind of powerful update management capabilities that Windows already enjoys to the non-Windows (IoT) world. With a decade-plus of Microsoft investment in Windows update management already, our team's initial focus and investment for the DU offering, then, have been on Linux and RTOS variants for IoT specifically. For that reason, we don’t have a specific plan yet for Windows support in Device Update for IoT Hub.
However, the DU offering is flexible by design such that any devices connected to Azure IoT Hub can be updated by Device Update if the open-source DU Agent that we make available is ported to the OS running on those devices, and if the appropriate handler (installer) for the update type is also available on that device. That is something that could possibly unblock you if you were willing to do the porting work. We definitely hear feedback on the desirability of managing updates for both Windows and non-Windows IoT devices connected to Azure IoT Hub using a single stack and experience, and would be interested in hearing more details about your specific scenario.”