Skip to content

# [Bug]: Installer setup wizard has no Back button #688

Closed

Description

@hgoodrow

Description

The Windows installer/setup wizard does not provide a Back button at any step of the installation process. If a user makes a mistake (e.g., selects the wrong installation directory, provider, or configuration option), there is no way to go back and correct it.

The only workaround currently available is to cancel/terminate the installer entirely and restart from the beginning, which is disruptive and forces re-entry of all previously completed steps.


Steps to Reproduce

  1. Launch the OpenClaw Windows installer (OpenClawTray-0.6.3-win-x64.exe).
  2. Progress through one or more steps of the setup wizard (e.g., select an installation path, configure a provider, etc.).
  3. Realize a mistake was made on a previous step.
  4. Attempt to navigate back to the previous step.

Expected: A Back button is present, allowing the user to return to the previous step and correct the mistake.
Actual: No Back button exists. The user is stuck moving forward or must abort the entire installation.


Workaround

Cancel/kill the installer process and restart it from the beginning.


Impact

  • Severity: Medium — not a crash, but significantly degrades the installation UX.
  • Affected users: Anyone who makes any configuration error during the multi-step setup wizard.
  • Risk of workaround: Depending on how far into installation the user is when they abort, partial artifacts may be left on disk, potentially causing issues on retry.

Expected Behavior

Each step of the setup wizard should include a Back button that navigates the user to the previous step, preserving any values already entered — consistent with standard Windows installer UX conventions (NSIS, Inno Setup, WiX, etc.).


Environment

  • OS: Windows 11 Enterprise (64-bit)
  • OS Build: 10.0.26200
  • Architecture: AMD64 (x64)
  • Installer version: 0.6.3 (OpenClawTray-0.6.3-win-x64)
  • Installation method: Windows setup wizard / .exe installer

Additional Notes

Most installer frameworks (Inno Setup, WiX Toolset, NSIS) provide built-in Back/Next/Cancel navigation. If the current framework supports it, enabling the Back button may be a low-effort change.

Activity

  1. clawsweeper commented on Jun 4, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 6, 2026, 1:45 PM ET / 17:45 UTC.

    Summary
    Keep open: current main and v0.6.12 still expose a forward-only gateway-driven setup wizard with no per-step Back affordance, and the collaborator discussion says the fix needs an explicit gateway wizard protocol/product decision rather than a Windows-only button.

    Reproducibility: yes. Source inspection of current main shows the gateway setup wizard has forward, restart, skip, and cancel paths but no per-step Back action or wizard.back/previous RPC; no live Windows run was performed in this read-only review.

    Root-cause cluster
    Relationship: canonical
    Canonical: #688
    Summary: This issue is the current exact tracker for gateway wizard Back-navigation semantics; related items are older duplicates, broader epics, or adjacent setup UX/protocol work that does not add Back.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Next step
    Maintainers need to choose the gateway wizard navigation protocol before a focused Windows implementation is safe.

    Maintainer decision needed

    • Question: Should the gateway wizard support Back navigation through a declarative manifest/final-submit contract, a gateway-owned wizard.back RPC, or another explicit protocol boundary before Windows adds the UI affordance?
    • Rationale: The current Windows client only renders one gateway-owned step at a time, so local Back behavior would require guessing about prior steps, branching, validation, and irreversible side effects.
    • Likely owner: ranjeshj — The collaborator comment already frames the exact protocol choices and this person has nearby setup recovery history.
    • Options:
      • Define a declarative wizard manifest (recommended): Have the gateway describe the setup flow up front so Windows can own Back/Forward, draft values, validation checkpoints, and final commit boundaries.
      • Add gateway-owned back RPC: Add wizard.back or wizard.previous semantics to the gateway and then wire Windows Back to that server-owned session state.
      • Defer Back navigation: Keep restart/skip recovery as the supported behavior until the gateway flow is redesigned.
    Review details

    Best possible solution:

    Define the gateway wizard navigation contract first, preferably a declarative manifest with local draft state or an explicit back/previous RPC with side-effect boundaries, then update the Windows setup UI and regression tests around that contract.

    Do we have a high-confidence way to reproduce the issue?

    Yes. Source inspection of current main shows the gateway setup wizard has forward, restart, skip, and cancel paths but no per-step Back action or wizard.back/previous RPC; no live Windows run was performed in this read-only review.

    Is this the best way to solve the issue?

    No for a Windows-only Back button on the current one-step-at-a-time gateway protocol. The maintainable solution is to decide and implement gateway-supported navigation or a declarative wizard contract first.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • A client-only Back stack could desynchronize from the gateway-owned wizard state or replay after side-effectful steps such as auth, provider validation, or plugin setup.
    • Recent setup UX redesigns improved recovery and transparency but explicitly did not define new gateway navigation semantics, so treating this as fixed would leave the central user problem open.

    Codex review notes: model internal, reasoning high; reviewed against 7ad7fcacccf8.

    Label changes

    Label changes:

    • add impact:ux-friction: The setup flow can force users to restart and re-enter answers to correct a prior choice, creating avoidable first-run friction without fully blocking progress.
    • remove impact:other: Current review impact labels are impact:ux-friction.

    Label justifications:

    • P2: The issue is a normal-priority setup UX gap with a restart workaround and no evidence of crash, data loss, or unusable core runtime.
    • impact:ux-friction: The setup flow can force users to restart and re-enter answers to correct a prior choice, creating avoidable first-run friction without fully blocking progress.
    Evidence reviewed

    What I checked:

    Likely related people:

    • steipete: Merged the current Windows gateway onboarding wizard replacement and recent timeout fix touching WizardPage and setup wizard behavior. (role: recent setup wizard merger; confidence: high; commits: adcb4c378f90, 7ad7fcacccf8; files: src/OpenClaw.SetupEngine.UI/Pages/WizardPage.xaml, src/OpenClaw.SetupEngine.UI/Pages/WizardPage.xaml.cs)
    • shanselman: Current release-tag blame owns the wizard footer and RPC helper lines, and prior discussion on the same Back-navigation gap argued against a fake client-side Back stack. (role: release/current source contributor and prior triage commenter; confidence: high; commits: 4166e0fd63f8; files: src/OpenClaw.SetupEngine.UI/Pages/WizardPage.xaml, src/OpenClaw.Shared/OpenClawGatewayClient.cs)
    • ranjeshj: Provided the item-specific protocol direction in discussion and has prior merged setup wizard recovery and SetupEngine work in this area. (role: product direction commenter and setup recovery contributor; confidence: high; commits: 9d304c110c0f, cefce3952ab1; files: src/OpenClaw.SetupEngine.UI, src/OpenClaw.SetupEngine, docs/ONBOARDING_WIZARD.md)
    • bkudiess: Recent wizard protocol resilience and recovery work is adjacent to the same gateway-driven setup path, although the remaining Back semantics were explicitly left forward-only. (role: recent adjacent setup wizard contributor; confidence: medium; commits: f51a8618ed7b, 84d2e6ab80c8; files: src/OpenClaw.SetupEngine.UI/Pages/WizardPage.xaml.cs, src/OpenClaw.SetupEngine/SetupWizardRunner.cs)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P2
    impact:other
    issue-rating: 🦞 diamond lobster
    clawsweeper:source-repro
    clawsweeper:no-new-fix-pr
    clawsweeper:fix-shape-clear
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    on Jun 4, 2026
  3. github-actions commented on Jun 8, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    Good find — and worth clarifying which wizard is affected.

    Which wizard: This is about the in-app setup wizard (the WizardPage.xaml.cs gateway-driven flow that runs after installation to configure your provider, channels, etc.), not the Inno Setup .exe installer. The Inno Setup installer already shows Back/Next/Cancel navigation on its own pages.

    Technical constraint: The in-app wizard is fully driven by the gateway via wizard.start / wizard.next RPCs — each step's content, type, and options all come from the server. The client has no knowledge of previous steps; it just renders whatever payload the gateway sends. To support Back navigation, one of these would be needed:

    1. Gateway wizard.back RPC — the server replays the previous step payload. This is the cleanest solution but requires gateway-side state management.
    2. Client-side step history — the Windows client saves each step's payload locally and replays it on Back, re-sending the user's previous answer to skip forward. More complex and potentially inconsistent if gateway state diverges.

    This is a meaningful UX improvement — especially since a mis-click or wrong choice currently means aborting and restarting the entire wizard. The clawsweeper:needs-product-decision label is appropriate since the fix requires gateway/product coordination. Happy to implement the client-side piece once the gateway API direction is decided.

    Generated by 🌈 Repo Assist, see workflow run. Learn more.

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@97143ac59cb3a13ef2a77581f929f06719c7402a
    
  4. ranjeshj commented on Jun 10, 2026

    @ranjeshj
    Contributor

    I think we should avoid solving this as only “add a Back button” on the current gateway-driven wizard protocol.

    The current in-app setup wizard is effectively a linear RPC conversation: the client calls wizard.start, renders whatever step the gateway returns, then calls wizard.next with the selected answer. That model makes the Windows client a thin renderer for a gateway-owned state machine. Because the client does not know the full flow, previous steps, possible branches, or whether prior answers can be edited safely, it cannot implement normal Back/Forward navigation in a reliable UX-friendly way.

    A wizard.back RPC would be an improvement, but it still keeps the flow imperative and server-driven. It also means every gateway implementation has to preserve enough session state to replay previous steps, handle changed answers, invalidate later answers, and define what “back” means after side effects. That may be workable, but it does not address the broader UX problem: the client cannot present a coherent setup experience because it only learns one step at a time.

    A better direction may be to make the gateway provide a declarative wizard definition up front, and let the Windows setup UI own navigation and local draft state.

    For example, the gateway could return a wizard manifest containing:

    • Wizard id/version.
    • All possible pages or steps.
    • Field definitions, labels, help text, defaults, and required/optional state.
    • Choice lists and branching/visibility rules.
    • Validation schema or per-field validation metadata.
    • Which steps are informational, editable, skippable, or irreversible.
    • A final submit/commit action that sends the completed configuration back to the gateway.
    • Optional validation RPCs for cases where a field must be checked against gateway state before the final commit.

    With that model, the Windows client can show a normal setup UX:

    • Back and Forward navigation.
    • Preserve previously entered values.
    • Allow review/edit before submit.
    • Disable Back only for explicitly irreversible/committed phases.
    • Show a progress/sidebar model if the flow has multiple sections.
    • Support richer UX flows than a strict question/answer sequence.
    • Avoid forcing users to cancel and restart because of one wrong choice.

    The gateway would still own the provider-specific setup contract, but the client would own presentation and navigation. Instead of the gateway “driving” the wizard one step at a time, the gateway would describe the possible setup flow and receive the final result, or receive validation requests as needed.

    There are a few possible implementation shapes:

    1. Declarative upfront manifest, final submit

      • Gateway returns the complete wizard definition from wizard.start.
      • Client manages all navigation and draft answers locally.
      • Client sends one final payload to the gateway when the user clicks Finish/Apply.
      • Best UX and simplest Back/Forward behavior.
    2. Declarative manifest with validation checkpoints

      • Same as above, but specific fields/steps can call gateway validation before proceeding.
      • Useful for tokens, URLs, credentials, provider connectivity, etc.
      • Still keeps navigation client-owned.
    3. Gateway-owned session with wizard.back

      • Smaller protocol change.
      • Gateway remains the state machine.
      • Client asks the gateway to move backward/forward.
      • This is easier to retrofit but likely less flexible and more fragile long-term.

    My recommendation would be option 1 or 2 rather than only adding wizard.back. The setup wizard is a UX surface, and users expect to be able to move around, review, correct mistakes, and understand what remains before committing. A one-step-at-a-time RPC protocol makes that hard even if we add a Back endpoint.

    We should probably define the gateway wizard protocol around a client-rendered form/flow contract, with explicit commit boundaries. Irreversible operations should happen only after the user reaches a final confirmation step, or should be clearly marked as non-reversible in the manifest so the client can disable Back at that point.

    This would also make the installer/setup UX easier to test because the Windows client could render a known wizard definition without requiring a live step-by-step gateway conversation for every navigation path.

  5. github-actions commented on Jun 25, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  6. removed
    clawsweeper:fix-shape-clear
    on Jun 25, 2026
  7. added
    impact:ux-friction
    and removed
    impact:other
    on Jul 6, 2026
  8. moved this from Backlog to Local Gateway in Windows Companion Appon Jul 13, 2026
  9. github-actions commented on Jul 25, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  10. bkudiess commented on Jul 30, 2026

    @bkudiess
    Collaborator

    Thanks for the report. We confirmed the missing Back control affected the in-app OpenClaw onboarding wizard, not the outer installer.

    Current main added a standard Back button in PR #940. The originally reported v0.6.3 and latest public release v0.6.12 do not contain that change yet.

    The Gateway wizard protocol remains forward-only, so the current Back button navigates through cached Windows UI steps. Start over still cancels and restarts the server-owned wizard session. If server-authoritative rewind is desired beyond this user-visible fix, that should be tracked separately as a Gateway wizard protocol feature.

  11. moved this from Local Gateway to Channels in Windows Companion Appon Jul 30, 2026
  12. locked as resolved and limited conversation to collaborators on Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-prclawsweeper:source-reproimpact:ux-frictionissue-rating: 🦞 diamond lobsterstale

    Type

    No type

    Fields

    Priority

    Medium

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions