3

how to upload flutter desktop application in windows store with the beta version of flutter 2.02. my desktop application is working fine with version 2.02.

created windows build with

flutter build windows
SULPHURIC ACID
  • 278
  • 5
  • 19

2 Answers2

11

At first, you need a paid developer Account: https://developer.microsoft.com/microsoft-store/register/

You get a dev account under $20. (one-time purchases)

Then you build your app with Flutter for Windows and after this step you can use the xsix package to build a xsix file for the Windows Store. You find the documentation for the package here: https://pub.dev/documentation/msix/latest/

Add this package to the dev_dependencies:

dev_dependencies:
  flutter_test:
    sdk: flutter
  msix: ^2.1.1

"If you publish your msix to Windows Store you dont need to sign it, Windows Store does it for you. To generate msix file for Windows Store use the --store flag or add store: true in msix configuration sction in your pubspec.yaml.

Note: the configuration values publisher_display_name, identity_name, msix_version, publisher must be valid, you can find those values in your Windows Store Dashboard > Product > Product identity.

For more information, please see this tutorial: How to publish your MSIX package to the Microsoft Store"

And then use these comments:

flutter clean
flutter build windows
flutter pub run msix:create --store

After this steps you get the msix file for uploading to the Windows Store.

Michal Šrůtek
  • 1,647
  • 16
  • 17
FantaMagier
  • 162
  • 3
  • 9
0

You'll need a Microsoft Partner Center account.

You can use the Flutter msix package to build the .msix file.

The whole process from building to publishing is described here.

CMAlex
  • 1
  • May you please describe how your answer differs from the one by @FantaMagier? – Ruli Dec 22 '21 at 16:54
  • I gave the link to the tutorial that I know to be working @Ruli. It covers all the steps in one place. – CMAlex Jan 02 '22 at 14:01
  • 1
    the link content should be described throughout the answer, so it is still valid even if the linked content gets changed or is removed. Please edit the answer and add all the necessary information. The link should be only to support the answer. – Ruli Jan 02 '22 at 15:54