System-scope "all users" install defaults to current user folder
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 40.5k
- Forks
- 2.3k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 79
Description
Bug report form
- I have done a basic search of the issue tracker to find any existing issues that are similar.
- I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug
In the Windows installer, when installing for "all users" (system scope), the installer defaults to a user path instead of a system path.
How to reproduce
nu-0.108.0-x86_64-pc-windows-msvc.msi- Advanced
- Select "for all users"
- The path defaults to
%USERPROFILE%\AppData\Local\Programs\nu\instead of ProgramFiles
Expected behavior
The path defaults to %ProgramFiles%\Nushell\ or %ProgramFiles%\nu\
Configuration
Tested with 0.108.0 and 0.109.1, nu-0.108.0-x86_64-pc-windows-msvc.msi and nu-0.109.1-x86_64-pc-windows-msvc.msi
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Windows MSI installer configuration responsible for the install-directory default, then reproduce the all-users flow with the listed 0.108.0 or 0.109.1 package. Done means the system-scope dialog defaults to a ProgramFiles path rather than the current user's AppData path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100