Skip to content

Default install root #970

Description

Description of the new feature/enhancement

Some packages are installed based on the location of the installer on the drive. This can be an undesired behavior, and may be further complicated by packages with long paths like Python as discovered in microsoft/winget-pkgs#13076.

Proposed technical implementation details (optional)

Extend the manifest to support packages that install based on the location of the installer on the device.
Provide a setting for a default install root location. (/)
Support an argument to specify the install location.
Modify the client to prompt users for an install location when one is required and none is specified in settings.

Activity

  1. ghost added
    Needs-TriageIssue needs to be triaged
    on May 18, 2021
  2. denelon commented on Jul 1, 2021

    @denelon
    CollaboratorAuthor

    How about:

    Installers:
      - InstallerType: exe
        InstallerArchitecture: x64
        InstallerSHA256: 12341234123412341234123412341234123412341234
        InstallerURL: https://www.contoso.com/awesomeapp/1.0.0/awesomeapp.x64.exe
        InstallLocationRequired: boolean
  3. added this to the milestone on Jul 1, 2021
  4. denelon commented on Oct 1, 2021

    @denelon
    CollaboratorAuthor

    "InstallLocationRequired": {
    "type": [ "boolean", "null" ],
    "description": "Indicates whether the installer requires an install location provided"
    },

  5. ghost added
    In-PRIssue related to a PR
    on Aug 5, 2022
  6. ghost removed
    In-PRIssue related to a PR
    on Aug 12, 2022
  7. modified the milestones: , v1.5-Client, v1.4-Client on Dec 28, 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-ManifestThis may require a change to the manifestIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions