Skip to content

Shipping the Windows app: SmartScreen, signing, winget and the Microsoft Store

Status for 5.6.0 (13 November 2026): the stable app is on the Microsoft Store (package version 5.6.99.0; the 5.6.0 update is in certification). That is the recommended Windows install; Microsoft signs the Store copy, so it does not show an unknown-publisher warning. The GitHub release also has an NSIS .exe and an .msi as advanced direct installers. Those stay unsigned, and may show a SmartScreen warning, until Azure Artifact Signing is set up (setup). Updates of the GitHub copy are signed with the Tauri updater key, so the app only installs updates that came from this repository's release workflow. A winget manifest is ready in packaging/winget/ but has not been submitted.

What users see (SmartScreen)

Windows SmartScreen checks downloaded programs. An unsigned program, or a new one without download reputation, shows "Windows protected your PC" or Unknown publisher. Users of the GitHub .exe/.msi click More info → Run anyway. The Microsoft Store copy does not show that warning.

  • Reputation is built per signing certificate (or per file for unsigned files), over time and downloads. EV certificates no longer skip this: Microsoft says paying for EV just to avoid the warning "is no longer justified". — Microsoft Learn: SmartScreen reputation for Windows app developers
  • Microsoft's own signing service (Azure Artifact Signing, formerly Trusted Signing, US$9.99/month on the Basic SKU) is wired in CI and ready to sign the GitHub .exe and .msi once the Azure account and GitHub secrets are in place. Public Trust certificates are available to organisations in the UK, but to individual developers only in the USA and Canada — so an individual in the UK cannot complete individual identity validation today. Full owner steps, current prices and this eligibility rule: TRUSTED_SIGNING_SETUP.md. — Quickstart: Set up Artifact Signing, Code signing options for Windows app developers

The Windows app draws its own caption (Menu, minimize, maximize, close) instead of the system title-bar buttons. How that is wired, including MSIX notes: WINDOWS-CHROME.md.

Chosen route: the Microsoft Store (MSIX) as the main download

The Microsoft Store edition (MSIX) is the primary Windows download. Microsoft signs MSIX packages when they pass certification, so Store installs don't show the SmartScreen warning. The GitHub .exe/.msi stay as advanced direct installers for people who can't use the Store, and will be Authenticode-signed once Azure Artifact Signing is configured.

  • Free individual developer account (no fee, also in the UK): start at https://storedeveloper.microsoft.com, choose Individual developer, verify with a government ID and a selfie on your phone. That page is the only entry to the free flow. — Open a developer account, What's new for individual developers (Individual accounts are meant for people publishing "not in relation to their business, trade, or profession". The Store app itself is free; if selling commercial licences turns into a business, a Company account may be the right type later.)
  • MSIX vs EXE/MSI: "For Store submissions, MSIX/AppX packages don't need a CA-trusted signature — Microsoft re-signs the package". An EXE/MSI listing (policy 10.2.9) needs every file signed with a Trusted-Root CA certificate, a versioned HTTPS download URL and a silent install. — Publish your first Windows app, Store policies 7.20
  • How it's built: the Windows app workflow packs the Tauri app into Mewlith-<version>-Windows-x64.msixupload (artifact mewlith-msstore) with scripts/ci/pack-msix.ps1: the manifest comes from packaging/msstore/msix.py (brand.py), the tiles from packaging/branding/generate.py; makeappx validates it, and CI test-installs a self-signed copy and launches it. The uploaded package itself is unsigned (the Store signs it).
  • Identity: Partner Center gives the package Name, Publisher (CN=…) and Publisher display name after you reserve the app name. Put them in the repository variables MSSTORE_IDENTITY_NAME, MSSTORE_PUBLISHER, MSSTORE_PUBLISHER_DISPLAY_NAME and the reserved name in MSSTORE_DISPLAY_NAME. Until then a placeholder identity is used (it builds, but Partner Center rejects it).
  • Version numbers: MSIX needs four numbers and the last must be 0 for the Store ("reserved for Store use"). The beta keeps its version (5.6.0-beta.3); the package version is X.Y.(Z×100+N).0, and a stable release uses N = 99 so it is always higher than its betas: 5.6.0-beta.3 → 5.6.3.0, 5.6.0 → 5.6.99.0, 5.6.1-beta.1 → 5.6.101.0. — App package requirements
  • Updates: the Store updates Store installs. The app detects that it runs from an MSIX package and switches its own updater off (no automatic check; Check for updates says the Store handles it). Policy 10.2.5 (update only through the Store) is written for games, but a second updater would install a separate non-Store copy anyway.
  • Beta testing: a private audience (only people whose Microsoft accounts you list can see and install it; can be changed to public later, but not back) and, after the first publish, package flights for known-user groups. — Visibility options, Package flights
  • Automatic upload: a stable version tag (vX.Y.Z) uploads the package to Partner Center as a draft (msstore publish --noCommit); a manual Windows app run with store_upload ticked does the same (use it for a beta flight or a re-run). It needs the secrets AZURE_AD_TENANT_ID, AZURE_AD_APPLICATION_CLIENT_ID, AZURE_AD_APPLICATION_SECRET, SELLER_ID and the variable MSSTORE_PRODUCT_ID, and works only after the first submission was published by hand. It skips with a notice when those are not set. — GitHub Actions for the Store
  • Listing kit (descriptions, keywords, age-rating answers, screenshots, certification notes): packaging/msstore/. Privacy policy URL: https://ymmiah.github.io/AutoMotoAI/PRIVACY.html.

Store policies that matter for Mewlith

  • 10.1 the listing must describe what the app really does, including limits; 10.1.3 at most seven search terms.
  • 10.2.2 no downloading code that changes the described function: the optional local engine install (Python + the Mewlith engine from PyPI/GitHub, only after the user agrees) and the approval-gated terminal tool are described in the listing and the certification notes.
  • 10.2.4 dependencies on other software must be stated at the start of the description: an AI provider key or local AI model, and a Mewlith account server or the local engine.
  • 10.5.1 a privacy policy URL is required (desktop/Win32 apps always need one).
  • 11.11 IARC age rating questionnaire; 11.16 live generative AI: say so in the listing and in Partner Center, and offer a way to report bad output (the app's Report a problem link and the Report content issue form).
  • runFullTrust is a restricted capability; explain in the submission notes that it's a desktop (Win32) app.

Not used: SignPath Foundation

SignPath Foundation's free certificates require "an OSI-approved Open Source license without commercial dual-licensing". Mewlith is AGPL-3.0 plus a paid commercial licence, so it does not qualify. The SignPath steps were removed from the workflow. GitHub-installer signing uses Azure Artifact Signing instead. — SignPath terms, setup

winget (Windows Package Manager)

Manifests for the beta are in packaging/winget/manifests/y/ymmiah/AutoMotoAI/Beta/5.6.0-beta.3/ as the package ymmiah.AutoMotoAI.Beta (winget-pkgs keeps pre-releases under their own identifier). The stable manifests are in packaging/winget/manifests/y/ymmiah/Mewlith/5.6.1/ as the package ymmiah.Mewlith (schema 1.12, NSIS per-user installer, URL and SHA-256 of the release file). A submission is a pull request to microsoft/winget-pkgs; an automated process validates the manifest, checks the package against the winget policies and checks it isn't known to be malicious (false positives can be sent to Microsoft Defender). — Submit packages to Windows Package Manager

To submit (Yasin, when ready — this has not been done):

winget install wingetcreate
winget validate --manifest packaging\winget\manifests\y\ymmiah\AutoMotoAI\Beta\5.6.0-beta.3
winget install --manifest packaging\winget\manifests\y\ymmiah\AutoMotoAI\Beta\5.6.0-beta.3   # test install locally
wingetcreate submit packaging\winget\manifests\y\ymmiah\AutoMotoAI\Beta\5.6.0-beta.3           # opens a PR on microsoft/winget-pkgs

For later versions: wingetcreate update ymmiah.AutoMotoAI.Beta --version <new> --urls <setup.exe URL> --submit. Unsigned installers can be flagged by the SmartScreen part of the validation. Wait until the GitHub installers are Authenticode-signed before submitting.

Update channel

The beta app checks https://raw.githubusercontent.com/ymmiah/AutoMotoAI/main/packaging/updater/beta.json (the signed latest.json of the newest beta, committed after each beta release). It does not use releases/latest, so a beta never becomes "latest" and stable users aren't offered betas. For a stable app release, point plugins.updater.endpoints in tauri.conf.json back to https://github.com/ymmiah/AutoMotoAI/releases/latest/download/latest.json.

The updater key (keep it safe)

  • The public key is in apps/desktop/src-tauri/tauri.conf.json (plugins.updater.pubkey).
  • The private key and its password are repository secrets TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD. They are not in the repository.
  • If the private key is lost, installed apps can't verify new updates: users would have to install the next version by hand. Keep an offline backup (password manager) of the key and its password.