chocolatey-licensed-issues
chocolatey-licensed-issues copied to clipboard
Package Reducer - Does Not Run When Allow Multiple Versions Is Passed
Is Your Feature Request Related To A Problem? Please describe.
Package Reducer does not work when installing packages with the --allow-multiple
parameter passed. This is because the lib directory folder a package creates when installed passing allow multiple versions is `
For example when running choco install firefox --version 99.0 --allow-multiple -y
the lib folder created is Firefox.99.0
and the following error message is shown when this runs:
Unable to find package at C:\ProgramData\chocolatey\lib\Firefox. Skipping package reducer.
Describe The Solution. Why is it needed?
Would be nice to have package reducer run when installing multiple versions of packages on the same machine.
Additional Context.
This also effects the choco optimize command. For example when running choco optimize --id="'firefox'"
. I get the following output: Unable to find package at C:\ProgramData\chocolatey\lib\Firefox. Skipping package reducer.
Related Issues
┆Issue is synchronized with this Gitlab issue by Unito