Support winget install --location
ThePlenkov opened this issue · 2 comments
ThePlenkov commented
Actual behavior
the following command currently ignores location and installs to "Program Files"
winget install Docker.DockerDesktop --location C:\Docker
Expected behavior
--location is propagated to --installation-dir parameter for installer
Information
This probably can be achieved by use of DefaultInstallLocation
kindtek commented
I just had issues with the --installation-dir flag while trying to run the powershell script from the documentation. might be a related issue. CMD worked, however. this is the error I got in powershell:
Start-Process : A positional parameter cannot be found that accepts argument '--installation-dir=C:\Docker'.
docker-robot commented
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale
comment.
If not, this issue will be closed in 30 days.
Prevent issues from auto-closing with a /lifecycle frozen
comment.
/lifecycle stale