https://github.com/himmat12/msix_package_distribution
This repo walks you through step by step guide to publish your flutter project (Desktop) with self signed certificates as msix package installer for distribution.
https://github.com/himmat12/msix_package_distribution
desktop flutter msix selfsign windows
Last synced: about 1 month ago
JSON representation
This repo walks you through step by step guide to publish your flutter project (Desktop) with self signed certificates as msix package installer for distribution.
- Host: GitHub
- URL: https://github.com/himmat12/msix_package_distribution
- Owner: himmat12
- Created: 2025-01-15T00:42:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-15T00:52:02.000Z (over 1 year ago)
- Last Synced: 2025-07-01T13:04:47.074Z (12 months ago)
- Topics: desktop, flutter, msix, selfsign, windows
- Language: C++
- Homepage:
- Size: 263 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Setting up MSIX package installer for windows distribution
#### This repo walks you through how to distribute windows application by packaging it as msix package installer.
> Complete step by step documentation will be updated in future!
### Steps
- first add `msix` package as your dev dependency
- then add msix configs in `pubspec.yaml`
```yaml
# msix configuration
msix_config:
display_name: Counter App
publisher_display_name: Himmat Rai
identity_name: company.suite.counterapp
msix_version: 1.0.0.0
capabilities: internetClient, location, microphone, webcam
certificate_path: c:\Users\himmat\Desktop\counter_app_intaller\TestCert_2024-01-14_himmat.pfx
certificate_password: 1234
app_installer:
publish_folder_path: c:\Users\himmat\Desktop\counter_app_intaller
hours_between_update_checks: 0
automatic_background_task: true
update_blocks_activation: true
show_prompt: true
force_update_from_any_version: false
```
- Now we need a certificate to verify our application as trusted in windows, so we need to create new self signed certificate and install it in our local machine.
- Once we create our certificate and signed our package, we can view our self signed certificate in Microsoft Management Console by selecting certificates section (local computer).
- Now we need to create the package and publish it by running `msix package cli tool` commnds `dart run msix:create` to create package and `dart run msix:publish` to push our application updates.
- Once these steps are completed we can run the `.appinstaller` file to install our published application to our device and when ever we make changes to our code and publish it `dart run msix:publish`, our installed application in windows will update automatically.