Skip to content

Inform users whether a package supports custom install path #6375

Description

@eugenesvk

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

You can choose a custom install path #1213
But it's "advisory"

this has been implemented in the client, but it does depend on the installer having support for the install location.

So would be helpful to know whether an app supports this winget flag or not

Proposed technical implementation details

  • Add a field to the app installation manifest that signals whether the capability is supported
  • If it's not supported, then installing an app with --location flag should stop with an error (with an option to convert this into just a warning without stopping the installation)
  • display this capability in the "winget show app"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.Resolution-DuplicateIssue is a duplicate

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions