GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(desktop): allow choosing Windows install directory by Fatty911 · Pull Request #30242 · anomalyco/opencode

Conversation

@Fatty911

@Fatty911 Fatty911 commented Jun 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Issue for this PR

Fixes #26818
Related #17044

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Switches the Windows NSIS installer from one-click mode to the assisted installer flow.

With oneClick: true, the installer skips the UI that lets users choose the installation scope or install path, so Windows installs default to the per-user location under %LocalAppData%\Programs.

This PR keeps per-user installs as the default while giving users both choices in the assisted installer:

  • Current user: keep the default per-user install location under %LocalAppData%\Programs.
  • All users: use the per-machine install mode, which installs under the system-level location such as Program Files after elevation.

It also enables allowToChangeInstallationDirectory so users can choose a custom directory in the assisted flow.

How did you verify your code works?

  • git diff --check
  • npx --yes [email protected] --check packages/desktop/electron-builder.config.ts
  • bun run --cwd packages/desktop typecheck was attempted locally on Windows, but this checkout materializes the repo symlink packages/app/src/custom-elements.d.ts as a text file (../../ui/src/custom-elements.d.ts), so TypeScript fails before reaching this installer config. The PR's required typecheck workflow is pending maintainer approval.

Screenshots / recordings

N/A. This changes Windows installer configuration only.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 1, 2026
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fatty911
Fatty911 force-pushed the codex/windows-install-directory branch from ea7514d to ebe1719 Compare June 1, 2026 13:36
@Fatty911
Fatty911 marked this pull request as ready for review June 1, 2026 13:36
@Fatty911
Fatty911 requested a review from adamdotdevin as a code owner June 1, 2026 13:36
@hxx-11

hxx-11 commented Jun 6, 2026

Copy link
Copy Markdown

这个 PR 已经放了一个月了,能给个回应吗?作为 Windows 用户,C 盘空间不够是普遍痛点。oneClick: true 不给选择安装路径、不给选择是否自动更新,这种"替用户做决定"的做法不太合适。希望团队能重视一下,谢谢。

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hxx-11

hxx-11 commented Jun 6, 2026

Copy link
Copy Markdown

This PR has been sitting for a month with no response. As Windows users, not being able to choose the install directory and being forced into auto-updates is a real pain. oneClick: true forces everyone into %LocalAppData% on C drive with no choice. This is a one-line config change that a community contributor already did for you. Please take a look and merge it. Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thdxr
thdxr requested review from Brendonovich and Hona as code owners June 11, 2026 00:17
@JustSidus

JustSidus commented Jun 12, 2026

Copy link
Copy Markdown

This is a simple one-line config change that solves a major pain point for Windows users who want to install on drives other than C:. The perMachine vs perUser install mode issue has been causing duplicate installations and broken shortcuts. Would be great to see this merged.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hxx-11

hxx-11 commented Jun 12, 2026 via email

Copy link
Copy Markdown
你好,来信已收到,谢谢。
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JustSidus JustSidus mentioned this pull request Jun 12, 2026
Windows auto-update stopped preserving custom install directory and reinstalls to %LocalAppData%\\Programs #26818
Closed
@Fatty911
fix(desktop): allow choosing Windows install directory
6d0a7b8
@Fatty911
Fatty911 force-pushed the codex/windows-install-directory branch from ebe1719 to 6d0a7b8 Compare June 15, 2026 04:20
@Fatty911
fix(desktop): keep per-user as default install scope
e878fdc
@Qm-jmz

Qm-jmz commented Jun 30, 2026

Copy link
Copy Markdown

Is there anything blocking this PR? Would love to see this PR get merged — it's much needed. Thanks to the author and maintainers for pushing this forward!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hxx-11

hxx-11 commented Jun 30, 2026 via email

Copy link
Copy Markdown
你好,来信已收到,谢谢。
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Jul 1, 2026
@github-actions github-actions Bot added the automated-pr-cleanup label Jul 1, 2026
@ADD-Izan-Garcia

ADD-Izan-Garcia commented Jul 14, 2026

Copy link
Copy Markdown

Automatic installation per user is very difficult to manage when it comes to updating and testing new versions. This PR should be reopened.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent opencode-agent Bot mentioned this pull request Oct 16, 2026
[FEATURE]:[desktop] Windows installer should let users choose the installation directory #55931
Closed
1 task done
@opencodejr opencodejr Bot mentioned this pull request Oct 28, 2026
[FEATURE]:为什么不能让我自己选择安装到哪里?我的C盘已经爆满了 #41121
Open
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin Awaiting requested review from adamdotdevin
@Hona Hona Awaiting requested review from Hona
@Brendonovich Brendonovich Awaiting requested review from Brendonovich

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

automated-pr-cleanup

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Windows auto-update stopped preserving custom install directory and reinstalls to %LocalAppData%\\Programs

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@Fatty911 @hxx-11 @JustSidus @Qm-jmz @ADD-Izan-Garcia
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.