Appinstaller issue with side loaded UWP application

426 Views Asked by At

I have an UWP application which has been used now for quite some time without any issue on all sort of devices. The .appinstaller and packaging is side loaded and hosted on a blob storage in azure, and signed with a valid certificate.

But since yesterday on some devices (it seems to be laptops, not tablets) I have the following error message in the windows appinstaller which checks if updates are available:

Cannot open app package Failed due to unknown reason.

When I look into the event viewer here is the detailed error message I get:

Appinstaller operation failed with error code 0x80670001. Detail: Optimistic locking failure. Data cannot be updated if it has changed since it was read.

I've checked and those devices have the minimal OS version required for the app.

What is happening is the following: I can install the app on the faulty device, which then run the app without any issue. But whenever I close and try to open the app again, I get this error message.

Rebooting the machine doesn't change anything, and the same behavior occurs whenever I uninstall and reinstall the app (working then displaying the error on re-launch).

I've even tried to revert to an older release of the UWP app, and the problem also happens while it never occured before.

The overall issue seems to have started to appear yesterday, without any changes in our release.

Has anybody encountered this message error and have an idea about how to fix it?

2

There are 2 best solutions below

1
On BEST ANSWER

I am facing the same issue. The only workaround is to start the .appinstaller every time and select 'Launch' instead of 'Reinstall'. Starting from the 'Start Menu' or 'Taskbar' does not work, as described.

4
On

Had the exact same issue starting at the exact same time but it seems to have sorted itself out now.

--- Wonder if UWP apps needed to go off to some Microsoft server each time they were booted for some reason and there was a server issue.