Skip to content

I used the -l option to install, why is it not installed to the specified location on the hard disk? #2810

Closed

Description

@dong-lufei

winget install DuongDieuPhap.ImageGlass -l "D:\ImageGlass"
or
winget install ImageGlass -l "D:\ImageGlass"

Neither installed to location "D:\ImageGlass",Instead it installed to the default location C:\Program Files\ImageGlass

Activity

  1. ghost added
    Needs-TriageIssue needs to be triaged
    on Jan 3, 2023
  2. Trenly commented on Jan 3, 2023

    @Trenly
    Contributor

    Not all installers support the -l switch. In some cases the installers can be marked as not having a location switch at all, and in other cases the location switch is simply unknown.

    <data name="LocationArgumentDescription" xml:space="preserve">
    <value>Location to install to (if supported)</value>
    </data>

  3. dong-lufei commented on Jan 3, 2023

    @dong-lufei
    Author

    Are there any configurations that I can download and install to the path "D:\winget" by default?

    I install a software, such as winget install abcd, and then the software abcd is installed in the "d:\winget" folder.

  4. Trenly commented on Jan 3, 2023

    @Trenly
    Contributor

    As of right now there is only the defaultInstallRoot , but that is only activated if the installer requires a location

  5. locked and limited conversation to collaborators on Jan 3, 2023
  6. converted this issue into a discussion #2812 on Jan 3, 2023
  7. ghost removed
    Needs-TriageIssue needs to be triaged
    on Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions