A command-line tool that create Msix installer for your flutter windows-build files.
In your pubspec.yaml
, add msix
as a new dependency.
dev_dependencies:
flutter_test:
sdk: flutter
msix: ^0.0.10 # Or the latest version
Run:
PS c:\src\flutter_project\> flutter build windows
PS c:\src\flutter_project\> flutter pub run msix:create
The flutter build windows
is required to build the executable that flutter pub run msix:create
bundles up in the MSIX install file.
Add msix_config:
configuration at the end of your pubspec.yaml
file:
msix_config:
display_name: MyApp
publisher_name: MyName
identity_name: MyCompany.MySuite.MyApp
msix_version: 1.0.0.0
certificate_path: C:/<PathToCertificate>/<MyCertificate.pfx>
certificate_password: 1234 (require if using .pfx certificate)
certificate_subject: CN=MyName
logo_path: C:\<PathToIcon>\<Logo.png>
start_menu_icon_path: C:\<PathToIcon>\<Icon.png>
tile_icon_path: C:\<PathToIcon>\<Icon.png>
icons_background_color: ffffff
architecture: x64
tags: msi
windows
win10
windows10
windows installer
windows packaging
appx
AppxManifest
SignTool
MakeAppx
Author: YehudaKremer
Source Code: https://github.com/YehudaKremer/msix
#flutter #dart #mobile-apps