[Package Issue]: Nushell.Nushell uses machine-scope installation by default instead of user-scope installation #169379
Closed
2 tasks done
Labels
In-PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
This work item needs to be triaged by a member of the core team.
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
When installing Nushell.Nushell via winget it uses machine-scope installation by default instead of user-scope installation.
As a consequence winget installation
winget install --id Nushell.Nushell
fails in a non-eleveted terminal which is not desired (see nushell/nushell#13281 for details)The culprit is the
ALLUSERS=1
installer switch that was introduced as a manual change in the manifest for version 0.94.2 and is now carried over to subsequent releases.Steps to reproduce
winget install --id Nushell.Nushell --version 0.97.1
Actual behavior
The installation fails with error
Installer failed with exit code: 1603
and in the installation logs the following message is writtenYou do not have sufficient privileges to complete this installation for all users of the machine
Expected behavior
The installation succeeds and Nushell gets installed with user scope
Environment
Screenshots and Logs
No response
The text was updated successfully, but these errors were encountered: