Skip to content

Add the ability to identify unsupported arguments #1277

Closed

Description

Description of the new feature/enhancement

Some installers don't support certain arguments like "--location".
See microsoft/winget-pkgs#20228

Others may not support "--log"

Proposed technical implementation details (optional)

Enhance the schema and the client to inform users when these are known conditions:
"--location"
"--log"

Note: we may update the description of this issue to identify other scenarios

Installers:
  - InstallerType: exe
    InstallerArchitecture: x64
    InstallerSHA256: 12341234123412341234123412341234123412341234
    InstallerURL: https://www.contoso.com/awesomeapp/1.0.0/awesomeapp.x64.exe
    UnsupportedArguments:
      - Location
      - Log

Activity

  1. added
    Issue-Feature
    on Jul 13, 2021
  2. ghost added
    Needs-Triage
    on Jul 13, 2021
  3. added this to the milestone on Jul 13, 2021
  4. added
    Area-Manifest
    on Jul 15, 2021
  5. jazzdelightsme commented on Jul 20, 2021

    @jazzdelightsme
    Member

    Another idea: give the manifest author the ability to add a bit more information about the unsupported argument. For example, it would be great if I ran "winget install vim --location C:\vim" and it not only told me that "--location is not supported for this package", but something more (supplied by the manifest author), like "--location is not supported for this package: tracked by https://github.com/vim/vim-win32-installer/issues/219"

  6. ghost added
    In-PR
    on Jun 3, 2022
  7. ghost removed
    In-PR
    on Jun 21, 2022
  8. modified the milestones: , v1.4-Client on Jul 29, 2022
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

    Area-ManifestIssue-Feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions