I'm trying to follow the Microsoft documentation but I'm confused as to why my appinstaller is failing:
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller xmlns="http://schemas.microsoft.com/appx/appinstaller/2018" Uri="https://xxxxxx.blob.core.windows.net/installer/Package.appinstaller" Version="1.0.0.0">
<MainPackage Name="MyApp" Version="12.21.289.0" Publisher="CN=xxxxxx" ProcessorArchitecture="x64" Uri="https://xxxxxx.blob.core.windows.net/installer/MyApp.msix"/>
<UpdateSettings> <OnLaunch HoursBetweenUpdateChecks="1" /> <AutomaticBackgroundTask/> </UpdateSettings>
</AppInstaller>
If I run the MSIX file, it installs as it should. I've been trying to follow this: https://learn.microsoft.com/en-us/windows/msix/desktop/azure-dev-ops I get this error: And if I remove the UpdateSettings attribute it will just cause another error: "App installation failed with error message: Appinstaller operation failed with error code 0x80D05011. Detail: Unknown error (0x80d05011)"
Kindly please help.
This is a bug in the windows delivery optimisation service, all we can do for now is a workaround.
Developers: The issue is caused by part of version number the changing how many digits it has, like going from 1.0.9.9 to 1.0.10.0 which happens pretty quickly if you let the build process automatically increment these. The workaround is to roll over to the next version up (1.1.0.0) instead. The best way to deal with this is probably to always start with a base version of 0.100.100 or 0.1000.1000 because otherwise you will be severely limited in how many total version number are available.
Users: Task Manager -> Services -> DoSvc -> Restart This is a bit quicker and more convenient than a system restart.
Note: the broken state of the service is caused by this version numbering bug, but once it happens a restart is the only way to correct it.