Choco reports install location of last installed package, not the one its installing
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
### What You Are Seeing?
If you install a package (or upgrade, in my case), and at the same time something else is also upgrading, `choco.exe` will give the _other_ program's install location as the install location of the package it was installing.
In this screenshot, I am upgrading `buffalo`, and at the same time I did a vscode update (which finished first), and then I get this:

### What is Expected?
I expected it to show the correct installation path.
### How Did You Get This To Happen? (Steps to Reproduce)
Install something externally while choco is instaling / upgrading.
### Output Log
Next time, I'll run with `--debug` and report back.
Contributor guide
Research direction
Start by reproducing the concurrent package installation or upgrade described in the issue, using --debug --verbose to capture the relevant output. Trace how choco.exe determines and reports the installation location for each package; done means the reported path belongs to the package currently being installed, even when another update finishes first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100