You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop installer defaults to single-user installation on Windows #35334
The Electron-based desktop app installer uses NSIS with \oneClick: true\ and \perMachine: false, which installs opencode to the user's local AppData instead of Program Files. This makes it harder for IT-managed deployments.
These issues cover the same core problem of the installer defaulting to per-user AppData instead of allowing machine-wide or custom directory installs.
Fix: Change NSIS installer config to oneClick: false, perMachine: true, add allowToChangeInstallationDirectory: true. Users get a proper installation directory prompt and admin install by default.
Activity
github-actions commentedon Jul 4, 2026
This issue might be a duplicate of existing issues. Please check:
%LocalAppData%\ProgramsThese issues cover the same core problem of the installer defaulting to per-user
AppDatainstead of allowing machine-wide or custom directory installs.edisonzerolam commentedon Jul 4, 2026
Fix: Change NSIS installer config to
oneClick: false,perMachine: true, addallowToChangeInstallationDirectory: true. Users get a proper installation directory prompt and admin install by default.Branch:
edisonzerolam/opencode:fix/win32-desktop-install-pathCherry-pick:
File:
packages/desktop/electron-builder.config.tsADD-Izan-Garcia commentedon Jul 14, 2026
Automatic installation per user is very difficult to manage when it comes to updating and testing new versions. This issue is a must.
github-actions commentedon Sep 13, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.