How I Automating Python-to-MSIX Publishing for the Microsoft Store using GitHub Actions

Published: (February 3, 2026 at 06:00 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

The Problem: Python on the Windows Store? 🤔

The challenge is converting a Python script into a signed, store‑ready MSIX package without having to do it manually each time.

The Stack 🛠️

  • Build: PyInstaller (to create the EXE)
  • Packaging: MSIX (MakeAppx.exe)
  • CI/CD: GitHub Actions (the magic sauce)

The “Aha!” Moment: Automating the Build

Here is the logic used in .github/workflows/build.yml:

  1. Setup: Install Python and system dependencies (e.g., Tesseract).
  2. Build EXE: Run pyinstaller --onefile.
  3. Layout: Create the MSIX directory structure and copy assets.
  4. Pack: Dynamically locate MakeAppx.exe on the runner and pack the MSIX.
  5. Artifact: Upload the final package, ready for the Partner Center.

The process involved overcoming issues with runFullTrust capabilities and manifest validation errors, but the green checkmark and “In Certification” status on the Partner Center made it worthwhile.

Introducing: DotScramble

A quick teaser was uploaded to demonstrate the app in action. (The app is currently in certification and will be live on the Store soon!)

Key Takeaway

Let me know in the comments if you’d like a detailed tutorial on the AppxManifest.xml configuration.

Back to Blog

Related posts

Read more »