Skip to content

winget download #658

Closed
Closed

Description

@Rakib

Description of the new feature/enhancement

I want to install notepad++ but maybe not trough winget but just want to download the package, and also choose the package format, msi or msix.

This to have one place to download my apps.

Proposed technical implementation details (optional)

Activity

  1. added
    Issue-Feature
    on Dec 2, 2020
  2. ghost added
    Needs-Triage
    on Dec 2, 2020
  3. denelon commented on Dec 3, 2020

    @denelon
    Collaborator

    Are you asking for some kind of "download only" function?

    The manifests are essentially pointing to the source for the installers. We wouldn't have the ability to provide installer types that aren't available.

  4. removed
    Needs-Triage
    on Dec 3, 2020
  5. Rakib commented on Dec 4, 2020

    @Rakib
    Author

    Both basically, since MS is pushing MSIX in the enterprise. It would be nice to be able to download .msix files from winget since most apps are not available in that format from their respective homepage.

  6. thbch commented on Aug 2, 2021

    @thbch

    An enhancement of having a "download" only functionality would make sense for us as well. This would allow for a separation of downloading and installation.

  7. JoergWu commented on Nov 17, 2021

    @JoergWu

    Would it not even be better simply to integrate the download / caching in "Delivery Optimization" and/or "BranchCache"?

  8. denelon commented on Dec 3, 2021

    @denelon
    Collaborator

    command:
    winget download <package>

    The typical options should be included here relative to search and install when specifying the package.

    options:
    --path <path>
    --installer-architecture <architecture>
    --installer-locale <locale>
    --installer-platform <platform>
    --installer-scope <scope>
    --installer-type <type>

    EDIT: 2/9 we will most likely reuse existing arguments

    If these options are not specified, the installer that would have been selected by the default Windows Package Manager settings for winget install <package> would apply.

    Typical output:

    Downloading <package name> version <version> from <source> source via <installer URL>.

    It's possible the user settings (requirements) or specified options cannot be met when attempting to locate an installer.
    ERROR: Unable to locate <package> installer with specified options or required settings.

    Some of the packages (non-Win32) from the Microsoft Store are prohibited from direct download due to licensing or agreements.
    ERROR: Unable to download Microsoft Store package.

  9. modified the milestones: v1.3-Client, on Mar 11, 2022
  10. 14 remaining items

  11. jonnygoogle25 commented on Jun 16, 2023

    @jonnygoogle25

    +1 for this feature. Microsoft does not make it easy to obtain appx package files and we need a way to deploy these internally as well

  12. moved this from To Do to Assigned in WinGeton Jun 16, 2023
  13. denelon commented on Jun 16, 2023

    @denelon
    Collaborator

    We're currently working on this feature.

  14. moved this from Assigned to In Progress in WinGeton Aug 11, 2023
  15. moved this from In Progress to Done in WinGeton Aug 29, 2023
  16. beedell-roke commented on Aug 29, 2023

    @beedell-roke

    Demitrius Nelon (@denelon), since this now exists, perhaps we could let not-currently-installable formats like .zip into the repo, so that they can be downloaded from a trusted source?

  17. jonnygoogle25 commented on Sep 20, 2023

    @jonnygoogle25

    Demitrius Nelon (@denelon) - I'm testing out the RC build of 1.6 and it seems like whenever I try to download AppX source files I get a "0x80070032: the Request is not supported"

    Is this expected? MSI seems to work fine

  18. RDMacLachlan commented on Sep 28, 2023

    @RDMacLachlan
    Member

    Demitrius Nelon (@denelon) - I'm testing out the RC build of 1.6 and it seems like whenever I try to download AppX source files I get a "0x80070032: the Request is not supported"

    Is this expected? MSI seems to work fine

    This is expected when attempting to download appx or msix apps from the Microsoft Store source. There is still some pending work to enable downloading those specific apps.

    Note! This will only be supported for Micosoft Store UWP apps which have been opt-ed in for offline distribution when published to the Microsoft Store. This will be the same list of apps that are available when using the Microsoft Store for Business to download.

  19. nathan-omeara commented on Oct 30, 2023

    @nathan-omeara

    Demitrius Nelon (@denelon) - I'm testing out the RC build of 1.6 and it seems like whenever I try to download AppX source files I get a "0x80070032: the Request is not supported"
    Is this expected? MSI seems to work fine

    This is expected when attempting to download appx or msix apps from the Microsoft Store source. There is still some pending work to enable downloading those specific apps.

    Note! This will only be supported for Micosoft Store UWP apps which have been opt-ed in for offline distribution when published to the Microsoft Store. This will be the same list of apps that are available when using the Microsoft Store for Business to download.

    Is there an expected timeline when this pending work will be done? I noticed that a fully updated GA Win11 now includes winget 1.6.2771, which includes this download command, but I still see the same 0x80070032: the Request is not supported error.

  20. added a commit that references this issue on Feb 15, 2024
  21. added a commit that references this issue on Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Issue-Feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions