Repository navigation
Open
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestimpact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.questionFurther information is requested
Description
Problem
The Windows tray currently appears to ship through three different distribution/update paths:
-
Inno Setup installer via
installer.iss- Release workflow builds
OpenClawTray-Setup-x64.exeandOpenClawTray-Setup-arm64.exe. - This looks like the friendly/default install path.
- Release workflow builds
-
Portable ZIP artifacts
- Release workflow builds
OpenClawTray-<version>-win-x64.zipandOpenClawTray-<version>-win-arm64.zip. - Workflow comments say these ZIPs are for Updatum auto-update.
- App code configures Updatum like a portable/single-file update flow, not like installer/MSIX update flow.
- Release workflow builds
-
MSIX packages
- CI/release builds
OpenClawTray-<version>-win-x64.msixandOpenClawTray-<version>-win-arm64.msix. - Release notes describe MSIX as useful for packaged Windows consent surfaces such as camera/microphone permissions.
- CI/release builds
That means install/update behavior is ambiguous: a user may install with the .exe, but the in-app updater may consume ZIP assets; MSIX has its own install/update semantics but is not wired into the in-app updater.
Why this matters
We should make a deliberate packaging decision before the Windows tray gets broader distribution:
- avoid users accidentally crossing install technologies during update
- avoid duplicated signing/release complexity if we do not need all formats
- define which package is the supported/default path
- define how camera/microphone/screen permissions should behave for unpackaged vs packaged installs
- make Updatum asset selection explicit and tested
Current evidence
installer.issis active in the tag release workflow and builds signed installer.exeassets..github/workflows/ci.ymlbuilds portable ZIPs and comments that they are for Updatum auto-update..github/workflows/ci.ymlalso builds MSIX packages.App.xaml.csconfiguresUpdatumManagerwithInstallUpdateSingleFileExecutableName = "OpenClaw.Tray.WinUI"and does not explicitly target installer or MSIX assets.
Decision needed
Pick one of these strategies:
- Installer-first: EXE installer is the blessed install/update path; configure updater to download/run the installer, and demote ZIP/MSIX as secondary/manual assets.
- Portable-first: ZIP is the blessed install/update path; keep Inno only for convenience install and document that it transitions to ZIP-based self-update.
- MSIX-first: MSIX is the blessed install/update path; use MSIX/App Installer update semantics and remove or demote the custom updater/installer.
- Hybrid, explicitly supported: keep multiple paths, but document and test which updater applies to each installed form.
Proposed acceptance criteria
- Document the supported/default install path in README/release notes.
- Document whether
.exe,.zip, and.msixare primary, secondary, or deprecated. - Make Updatum asset selection explicit, including architecture matching.
- Add/update tests or a release checklist proving the updater downloads the intended asset type.
- Ensure the updater does not accidentally update an MSIX install with ZIP files or an installer install with an incompatible portable layout.
- If multiple install paths remain, document how each one updates.
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestimpact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.questionFurther information is requested
Type
Fields
Priority
Medium
Projects
- StatusShow more project fieldsRelease
Activity
github-actions commentedon May 1, 2026
🤖 This is an automated response from Repo Assist.
Good write-up of a genuinely tricky problem. I looked at the current code to map out the exact gaps.
What the code shows today
App.xaml.cs— Updatum config (lines 30–34):There is no architecture-aware asset filter.
DownloadUpdateAsync()is called with no selector. On an arm64 machine, if Updatum picks alphabetically or by position, it may chooseOpenClawTray-x.y.z-win-x64.ziprather thanwin-arm64.zip— which would install the wrong binary silently.ci.ymlcomment (line ~449):# Create ZIP files for Updatum auto-update (needs "win-x64" in filename)This comment reads like a convention hint to Updatum, not a confirmed capability. It is unclear whether the Updatum library auto-detects the current process architecture from the asset filename. This needs verification against the Updatum 1.3.4 docs/changelog.
MSIX path: Fully disconnected from
UpdatumManager. MSIX uses its own store/installer update semantics. No wiring needed there, but users who installed via MSIX will not receive updates throughDownloadAndInstallUpdateAsync.Specific gaps to resolve
AssetNameContainsor equivalent filter usingRuntimeInformation.ProcessArchitecture.exe, app self-updates via ZIP (incompatible layout)Suggested direction
Option 1 (Portable-first, minimal change): Keep the ZIP path for Updatum. Add an architecture-aware asset name predicate. Document the EXE installer as a convenience entry point that transitions to ZIP-based self-update, and document this clearly in README.
Option 2 (Installer-first): Configure Updatum (if supported) to download and run the signed installer on update rather than a raw ZIP. Avoids the layout-mismatch risk at the cost of a heavier update flow.
The MSIX path can stay as-is regardless of which direction is chosen — it's naturally isolated.
shanselman commentedon May 18, 2026
Decision update: we want to move toward MSIX-first packaging.
Near-term plan:
Longer-term plan:
Suggested next implementation slice: update release docs/workflows so MSIX is the primary path, gate/disable Updatum for packaged installs, and add a release validation checklist for install, update, uninstall, protocol activation, startup behavior, and camera/mic permission prompts.
clawsweeper commentedon Jun 14, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 29, 2026, 11:50 PM ET / July 30, 2026, 03:50 UTC.
Summary
Keep open. This is still the active maintainer decision that sets the install and update contract for the Windows node: the author selected an MSIX-first direction, but the current release program still has open implementation and rollout work under the ship-and-update epic and the MSIX packaging child issue. The issue is collaborator-authored and carries security and maintainer-review labels, so it requires explicit maintainer handling rather than automated closure.
Reproducibility: not applicable. This issue requests a release-product decision rather than reporting a failing runtime behavior; the decision and its resulting install/update validation are the evidence path.
Root-cause cluster
Relationship:
partial_overlapCanonical: #838
Summary: This issue supplies the packaging-and-update policy decision for the broader open ship-and-update epic; the MSIX child issue is a dependent implementation slice rather than a duplicate.
Members:
canonical: 🦞 Tracking: Ship & update the node with confidence #838 - The open epic explicitly lists this issue as a child and owns the broader outcome of shipping and updating the node with confidence.partial_overlap: MSIX packaging (WinAppSDK framework + identity) #854 - The open MSIX packaging issue implements one consequence of this decision but does not replace the policy choice for legacy installer and portable paths.superseded: Work in progress: msix installer #732 - The draft MSIX installer pull request was closed unmerged and therefore is not a viable canonical implementation path.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Ways to help us reproduce this
Maintainer decision needed
Why: The requested outcome changes the supported release contract and upgrade behavior across persisted installations; source-level work cannot safely decide which legacy paths remain supported or how users migrate.
Next step
A maintainer must choose the supported distribution and legacy-migration contract before a focused implementation PR can be safely scoped.
Security
Needs attention: The issue is security-sensitive because a packaging decision controls signed update delivery and whether installations can cross update technologies.
Review details
Best possible solution:
Adopt MSIX/App Installer as the documented primary path, explicitly preserve or retire each legacy path with an upgrade policy, then deliver the work through the open MSIX packaging issue with signed x64 and ARM64 install, update, uninstall, protocol, startup, and permission validation.
Do we have a high-confidence way to reproduce the issue?
Not applicable. This issue requests a release-product decision rather than reporting a failing runtime behavior; the decision and its resulting install/update validation are the evidence path.
Is this the best way to solve the issue?
Yes. Resolving the distribution contract before attempting more packaging changes is the narrowest maintainable path, because the open MSIX implementation work depends on a defined policy for legacy installations.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against bc210e048aa9.
Label changes
Label justifications:
P2: This is a normal-priority release and packaging decision with broad upgrade implications, but no current evidence of an immediate user-facing outage.impact:security: The chosen update path governs signed package delivery and prevents packaged installs from receiving incompatible portable update bits.impact:other: The issue materially affects release distribution, installation, update, uninstall, and Windows permission behavior outside the more specific impact taxonomy.Evidence reviewed
Security concerns:
The final strategy needs explicit signed-package, update-source, architecture-selection, and installed-form isolation rules before broad rollout.
Confidence: 0.88
What I checked:
Likely related people:
How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.