Search code examples
uwpraspberry-piupdateswindows-10-iot-core

Updating already installed sideloaded uwp application


Is it possible to update sideloaded uwp application on raspberry pi? While coding it I did not think there would be updates so there is nothing prepared for updating in the code. I realized I would like to make one small change, and the application is already installed on multiple devices.

Reason for not just unistalling and reinstalling it again is that during first launch we enter some strings which we store in application data local settings. I would have to come to each raspberry again and re enter these strings if I am to reinstall it completely.


Solution

  • Generally, OEMs and enterprise customers can deliver app updates to Windows 10 IoT Core devices in the following ways.Please refer to this document.

    • Using Microsoft Store: The app is published and updated from the Microsoft Store
    • Using Device Update Center: The app is published to Windows Update and updated like any other OEM package (driver package)
    • Using Azure IoT Device Management: The app is published to Azure Storage and updated through the Azure DM channel New for Windows 10, version 1709
    • Using OMA-DM: The app is updated using an OMA-DM compliant device management channel such as Intune or System Center Configuration Manager (SCCM)

    If you want to update the uwp application from sideload package, you can use Packagemanager.UpdatePackageAsync API to do that. Please refer to this topic. Rita has provided the solution.

    Since your app did not include update code, it can not update with sideload package.