chocolatey / chocolatey/choco

Chocolatey will not install to default location and instead installs to UniGetUI folder

Open
#3,927 6 comments 0 reactions 0 assignees View on GitHub
0 - Waiting on User Pending Closure Question
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [x] I confirm there are no unresolved issues reported on the [Chocolatey Status page](https://status.chocolatey.org).
- [x] I have verified this is the correct repository for opening this issue.
- [x] I have verified no other issues exist related to my problem.
- [x] I have verified this is not an issue for a specific package.
- [x] I have verified this issue is not security related.
- [x] I confirm I am using **official**, and **not** unofficial, or modified, Chocolatey products.

### What You Are Seeing?

I am trying to install Chocolatey while having Chocolatey previously installed (via UniGetUI?) I know this is not a UniGetUI support page; but I want to know why Chocolatey is doing this.

Chocolatey (when installed via UniGetUI?) defaults to the location;

`C:\Users\Main\AppData\Local\UniGetUI\Chocolatey`

I instead want to install into the default Chocolatey install directory, which is;

`C:\ProgramData\Chocolatey` [Source](https://docs.chocolatey.org/en-us/default-chocolatey-install-reasoning/)

The problem is; no matter how I now choose to install Chocolatey; it ALWAYS installs to

`C:\Users\Main\AppData\Local\UniGetUI\Chocolatey`

Even using an install method [totally unrelated to UniGetUI](https://chocolatey.org/install); the Powershell window will say it is installing there; and I have no control to change it. It is totally ignoring the default install location to install in the UniGetUI folder.

Does anyone know why this is happening? I do not want my Chocolatey installed apps to be in the UniGetUI subfolder.

Thanks.
___

I also know about changing the Chocolatey executable location via UniGetUI, which I will of course be doing once I have Chocolatey installed at its 'default' location.

### What is Expected?

Chocolatey will install into its default installation directory.

### How Did You Get This To Happen?

I had previously installed Chocolatey via UniGetUI; and now chocolatey only wants to install into that directory.

### User Story

_No response_

### System Details

* Operating System: Windows 10
* Windows PowerShell version:
* Chocolatey CLI Version:
* Chocolatey Licensed Extension version:
* Chocolatey License type:
* Terminal/Emulator:

### Installed Packages

```bash
/
```

### Output Log

```bash
/
```

### Additional Context

_No response_

### Acceptance Criteria

_No response_

### Related Issues

_No response_

Contributor guide

Open the contributing guide

Research direction

No project file or test is identified. Start by reproducing the installation through UniGetUI and the linked PowerShell install method, recording the Chocolatey version, PowerShell version, environment, and output. Done means determining whether Chocolatey or UniGetUI controls the install path and documenting or fixing the responsible behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.