YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
280 stars 69 forks source link

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

Closed chrisDK1977 closed 2 years ago

chrisDK1977 commented 2 years ago

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".

YehudaKremer commented 2 years ago

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

khanliKU commented 2 years ago

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

carminechoi commented 2 years ago

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

jhiggs15 commented 2 years ago

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

YehudaKremer commented 2 years ago

Hello

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