msix icon indicating copy to clipboard operation
msix copied to clipboard

Cannot install App Package - This .appinstaller file is using a new schema ...

Open chrisDK1977 opened this issue 2 years ago • 5 comments

I get the error: This .appinstaller file is using a new schema which is not valid on this OS version. Please update to the latest version of Windows 10.

but Windows update does show me that my system is "Up to date".

chrisDK1977 avatar May 25 '22 07:05 chrisDK1977

https://docs.microsoft.com/en-us/windows/msix/app-installer/troubleshoot-appinstaller-issues

YehudaKremer avatar May 25 '22 07:05 YehudaKremer

I got the same error when I ran "flutter pub run msix:publish"

My OS build is 19042.1586. The page says:

"Windows 10 1909 and earlier: The device must be enabled for Developer Mode or Sideloading apps. See Enable your device for development to learn more."

Developer Mode was already enabled for me. image

However I was able install my app using the msix I created by running "flutter pub run msix:create"

FYI

khanliKU avatar May 27 '22 10:05 khanliKU

Changing the xmlns in the appinstaller from "http://schemas.microsoft.com/appx/appinstaller/2021" to "http://schemas.microsoft.com/appx/appinstaller/2018" fixed it for me

carminechoi avatar Aug 01 '22 17:08 carminechoi

Anyone know if there is a way to set xmlns from msix_config?

jhiggs15 avatar Aug 09 '22 18:08 jhiggs15

Hello

I publish a new version (3.6.3) with @carminechoi suggestion, thank you.

YehudaKremer avatar Aug 09 '22 22:08 YehudaKremer