YehudaKremer / msix

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

[FEATURE REQUEST] Option to output .msixbundle file #254

Open eivihnd opened 9 months ago

eivihnd commented 9 months ago

:speech_balloon: Description

Problem: When attempting to upload a .msix file to Microsoft Partner Center where previous versions of the app have used .appxbundle files, you are required to continue to upload a bundle file. The following error is given when uploading a .msix file: A previous submission for this app was released with a Windows 10 .msixbundle or .appxbundle. Subsequent submissions must continue to contain a Windows 10 .msixbundle or .appxbundle.

Workaround: Currently one must use the MakeAppx.exe tool to bundle the generated .msix file from the MSIX package with the following command: C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64> .\makeappx.exe bundle /d "path-to-generated-msix-file" /p "output-path.msixbundle".

Solution: Apparently the MSIX package already includes the makeappx tool. Would it be possible to add an option to get a .msixbundle output to be compatible with older/long-lived apps that are now ported to Flutter?

:question: Platform

Windows

azchohfi commented 7 months ago

This is quite important to have, specially since Flutter will soon support building for Arm64. It would make sense to build one bundle with both archs.

clemeMnt commented 5 months ago

@YehudaKremer any news about this feature ? I tried your WIP branch, but it doesn't work yet.