Skip to content

docs(dist): make the Microsoft Store the recommended Windows route - #285

Merged
EtienneLescot merged 3 commits into
mainfrom
docs/store-first-distribution
Aug 10, 2026
Merged

docs(dist): make the Microsoft Store the recommended Windows route#285
EtienneLescot merged 3 commits into
mainfrom
docs/store-first-distribution

Conversation

@EtienneLescot

@EtienneLescot EtienneLescot commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Replaces #283, which tried to buy the problem away by signing the .exe.

What I verified first

Both Windows artifacts leave CI unsigned. Checked with Get-AuthenticodeSignature against the actual 1.8.0 build artifacts:

Openscreen.Setup.1.8.0.exe   -> NotSigned
Openscreen.Setup.1.8.0.appx  -> NotSigned

The AppX being unsigned is not a defect: Microsoft signs Store submissions during certification, and that signed copy exists only in the Store. It is never handed back, so it cannot be redistributed.

Two consequences that decided the approach:

  • Shipping the .appx instead of the .exe would be worse, not better. Windows runs an unsigned .exe after a SmartScreen prompt; it refuses outright to install an unsigned MSIX/AppX, because sideloading needs a signature the machine already trusts. We would trade a file that warns for a file that will not install.
  • The Store is therefore the only Windows route with no SmartScreen interstitial — and it is already paid for through the developer account.

What changes

The README recommends the Store first, with winget install --source msstore OpenScreen as the terminal equivalent, and keeps the .exe as an explicitly documented fallback for people who cannot reach the Store (LTSC, managed machines, offline installs, older versions).

The fallback gets an explanation rather than an apology. SmartScreen attaches reputation to the file hash while an installer is unsigned, so every release starts untrusted no matter how popular the previous one was, and there is no signature for a cautious user to verify. Users hitting that dialog deserve to know which of those it is; guessing is worse for them than being told.

What I did not build

publish-winget.yml already exists and does exactly what a winget CI job should. It has simply never run: it gates on vars.WINGET_IDENTIFIER != '', and neither that variable nor WINGET_ACC_TOKEN is set, so every release has reported skipped — stable ones included.

skipped  v1.9.0-rc.2
skipped  v1.9.0-rc.1
skipped  v1.8.0

I left it dormant on purpose rather than switching it on in passing. winget-releaser submits the NSIS .exe to the community repository, and that installer is unsigned — so turning it on adds a second, unsigned route next to the signed Store one. That is a distribution decision, not a variable to flip, so the docs now say so.

Docs

build-and-packaging.md records that no Windows signing exists in the repo at all, with the signature table above and the AppX-is-not-a-substitute reasoning, so the next person to have this idea finds the answer instead of re-deriving it. release-and-secrets.md records the dormant winget state and what turning it on would actually publish.

Sequencing — do not merge before the Store listing is live

The README will link to apps.microsoft.com/detail/9MXQ1HQJL5G5, and the submission is still a draft, waiting on the 1.9.0 final AppX. Merging earlier advertises a dead link and a winget command that resolves to nothing. Worth confirming the URL against Partner Center's product-identity page at that point too.

Buying a certificate is not foreclosed by any of this — it now smooths a secondary path rather than the only one, which makes it a comfort call once install traffic shows how much the fallback is actually used.

Summary by CodeRabbit

  • Documentation
    • Updated Windows installation guidance to recommend the Microsoft Store, with GitHub Releases and standalone installers as alternatives.
    • Added Microsoft Store and winget installation instructions, including automatic updates and signing details.
    • Documented unsigned Windows installers, SmartScreen warnings, sideloading limitations, and signature verification.
    • Clarified that Microsoft Store packages are Microsoft-signed.
    • Documented current WinGet publishing requirements, including its disabled status and initial package setup.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@EtienneLescot, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 31 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9cc95203-47cc-468c-8fbb-39a06d117613

📥 Commits

Reviewing files that changed from the base of the PR and between 6148d13 and ccfb783.

📒 Files selected for processing (1)
  • technical-documentation/engineering/release-and-secrets.md
📝 Walkthrough

Walkthrough

The documentation recommends Microsoft Store installation on Windows, describes standalone installer limitations and unsigned artifacts, and records the prerequisites and disabled state of WinGet publishing.

Changes

Windows distribution documentation

Layer / File(s) Summary
Windows installation guidance
README.md
The README recommends the Microsoft Store and documents winget, automatic updates, signing, standalone installer use cases, and SmartScreen handling.
Packaging and publishing status
technical-documentation/engineering/build-and-packaging.md, technical-documentation/engineering/release-and-secrets.md
Engineering documentation describes unsigned NSIS and AppX outputs, Store signing, sideloading limits, SmartScreen behavior, and the configuration required to enable WinGet publishing.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is detailed and on-topic, but it omits the template’s required type, release-impact, desktop-impact, and formatted related-issue sections. Add the missing template sections and mark the applicable options, including Documentation, Windows/Installer, and release impact; format the issue reference as Refs #283.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the primary change: recommending the Microsoft Store for Windows installation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/store-first-distribution

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 98: Remove the Microsoft Store link from the README’s OpenScreen
installation instructions until the final 1.9.0 AppX package is live; retain the
terminal installation option and restore the link only once the Store listing
contains that package.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 08af2f78-9425-49d8-8a1a-761860f8f729

📥 Commits

Reviewing files that changed from the base of the PR and between 135c360 and ed3307d.

📒 Files selected for processing (3)
  • README.md
  • technical-documentation/engineering/build-and-packaging.md
  • technical-documentation/engineering/release-and-secrets.md

Comment thread README.md
Both Windows artifacts leave CI unsigned — verified with
Get-AuthenticodeSignature on the 1.8.0 build, the .exe and the .appx alike.
Microsoft signs Store submissions during certification and that signed copy
lives only in the Store, so it cannot be redistributed.

That makes the Store the only Windows route that installs without a SmartScreen
interstitial, and it costs nothing beyond the developer account already paid
for. The README now recommends it first, with winget --source msstore as the
terminal equivalent, and keeps the .exe as an explicitly documented fallback
for people who cannot reach the Store.

The fallback carries an explanation rather than an apology: reputation attaches
to the file hash while an installer is unsigned, so every release starts
untrusted however popular the last one was, and there is no signature for a
cautious user to check. Saying so is more useful than letting people guess
whether the download is safe.

Also records two things that were true but written down nowhere: that no
Windows signing exists in the repo at all, and that publish-winget.yml has
reported "skipped" on every release because WINGET_IDENTIFIER was never set.
Turning it on would publish the unsigned .exe to the community source
alongside the signed Store package, which is a decision rather than a
variable, so the note says as much instead of just listing the secret.

Buying a certificate stays open and is not foreclosed here; it now smooths a
secondary path rather than the only one.
#329 moves the configuration test out of the job-level if, so "gates on
vars.WINGET_IDENTIFIER" stops being true the moment both land. Describe what has
to be true instead of the mechanism that checks it, which also lets the paragraph
name the two prerequisites nobody could guess: the PAT must be classic, and the
action refuses to author a package that does not already exist in winget-pkgs.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@technical-documentation/engineering/release-and-secrets.md`:
- Line 121: Update the WinGet publishing description to state that the workflow
runs for stable releases when WINGET_IDENTIFIER is configured, but publishing
does not complete until the required secret, fork, and existing package version
prerequisites are met. Remove claims that publishing is switched off or has
never run, while preserving the manual first-submission guidance.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8bbc68e1-0e0a-4bf9-9dae-df33f4c94910

📥 Commits

Reviewing files that changed from the base of the PR and between ed3307d and 913d923.

📒 Files selected for processing (1)
  • technical-documentation/engineering/release-and-secrets.md

Comment thread technical-documentation/engineering/release-and-secrets.md Outdated
@EtienneLescot
EtienneLescot force-pushed the docs/store-first-distribution branch from 913d923 to 6148d13 Compare August 10, 2026 16:14
CodeRabbit, correctly, on my own paragraph. After #329 the job is not off: it
starts on every stable release and either publishes or annotates the run. What is
unfinished is the publishing, not the workflow, and describing it as "never run"
would be false the moment both land.

Keeps the history, which is the part worth remembering: the silent skip is why
#148 sat open through eight green releases.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
technical-documentation/engineering/build-and-packaging.md (2)

108-108: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use afterward instead of afterwards.

This matches the repository's American English style.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@technical-documentation/engineering/build-and-packaging.md` at line 108,
Update the wording near the -KeepRegistered explanation to use “afterward”
instead of “afterwards,” preserving the existing meaning and surrounding
documentation.

Source: Linters/SAST tools


49-59: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Add languages to both output fences.

The fenced output blocks start at Lines 49 and 57 without a language. Use text for both fences so Markdown validation passes.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@technical-documentation/engineering/build-and-packaging.md` around lines 49 -
59, Add the text language identifier to both fenced output blocks in the
documentation, including the fences containing “require BEFORE PATH” and
“require AFTER PATH” results, without changing their contents.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@technical-documentation/engineering/build-and-packaging.md`:
- Line 108: Update the wording near the -KeepRegistered explanation to use
“afterward” instead of “afterwards,” preserving the existing meaning and
surrounding documentation.
- Around line 49-59: Add the text language identifier to both fenced output
blocks in the documentation, including the fences containing “require BEFORE
PATH” and “require AFTER PATH” results, without changing their contents.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d42abf85-e666-40ab-8fa2-a22ae88b6403

📥 Commits

Reviewing files that changed from the base of the PR and between 913d923 and 6148d13.

📒 Files selected for processing (3)
  • README.md
  • technical-documentation/engineering/build-and-packaging.md
  • technical-documentation/engineering/release-and-secrets.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • README.md

@EtienneLescot
EtienneLescot merged commit 7a41195 into main Aug 10, 2026
17 of 18 checks passed
@EtienneLescot
EtienneLescot deleted the docs/store-first-distribution branch August 10, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant