Skip to content

Support for installation of portable/standalone apps #182

Description

Description of the new feature/enhancement

There are programs like starship or aria2, which only provide portable archived files.
There maybe also some apps just releases an standalone .exe file.
Although we can request they to build an msi/msix package, it will be more convenient if we support to install them directly.

For the portable apps, the install may mean extract the archive to Program Files, then create a shim-like redirection for the program, put it into a specific directory, and add the directory to PATH.

Related:

Edited by Demitrius Nelon (@denelon)

Activity

  1. changed the title [-]Support for installation of Portable apps[/-] [+]Support for installation of portable/standalone apps[/+] on May 19, 2020
  2. timvisee commented on May 19, 2020

    @timvisee

    Yes, I'd like to see this as well. Many other tools you might use in the terminal (it is a CLI package installer after all) are provided as standalone binaries. I'd like to package ffsend.

    Existing package managers for Windows such as scoop or Chocolatey allow the installation of standalone binaries as well. Some inspiration might be taken from there.

  3. RobCannon commented on May 23, 2020

    @RobCannon

    I would love to be able to install tools like terraform, packer, kubectl, etc.. I could use scoop.sh, but I would love to have one tool to handle everything. winget should be able to install command line tools to a common directory in the user's directory but also make sure that directory is part of the path.

  4. added this to the milestone on May 23, 2020
  5. marcomorain commented on May 23, 2020

    @marcomorain

    I'm looking for this support to package the CircleCI CLI tool.

    👍

  6. koppor commented on May 24, 2020

    @koppor

    This is useful for the mob tool which is fundamental for remote mob programming. A release for windows is a single .tar.gz file containing a single .exe file.

  7. darrenj commented on May 26, 2020

    @darrenj

    Also useful for the ngrok tool for HTTP tunnelling.

  8. karsten3s commented on Jun 8, 2020

    @karsten3s

    To piggy back off of this, how would we go about installing applications like https://github.com/ggreer/the_silver_searcher where there will be no direct developer support for windows? There are unofficial windows builds but can those be considered?

  9. yazz commented on Jul 8, 2020

    @yazz

    I would like to be able to package a standalone app too, Yazz Pilot which is a single .exe file. Any estimate on when this will be coming?

  10. modified the milestones: , on Aug 24, 2020
  11. ajeetdsouza commented on Sep 11, 2020

    @ajeetdsouza

    Is there any update on this? I'd love to be able to package zoxide via WinGet. Being a command-line app, it is distributed as a single binary.

    This would be a very useful feature for a lot of similar apps. Note that Scoop already supports this.

  12. denelon commented on Sep 15, 2020

    @denelon
    Collaborator

    We're targeting milestone 18 for this.

  13. 14 remaining items

  14. denelon commented on Jan 31, 2022

    @denelon
    Collaborator

    Hey all, I'm working on the specification for portable / standalone applications. I'm hoping to get through an engineering review to look for missed edge cases this week. I'll be posting the specification after that, and another PM/Security/etc... review.

  15. denelon commented on Jan 31, 2022

    @denelon
    Collaborator

    Note: This will not include compressed files like an .exe inside of a .zip. I want to get this specification completed before moving on to the more complex set of edge cases for compressed files containing portable / standalone executables or other "nested" installers.

  16. denelon commented on Feb 1, 2022

    @denelon
    Collaborator

    Discussion at: #1887

  17. linked a pull request that will close this issuePortable Support as Stable Feature #2233on Jun 11, 2022
  18. bc3tech commented on Jun 11, 2022

    @bc3tech

    🎉 could you link us to the docs on how to develop for/use it? Thanks!

  19. denelon commented on Jun 13, 2022

    @denelon
    Collaborator

    Brandon H (@bc3tech), we're holding off on accepting manifests for portable apps in the community repository until we've released the 1.3 client and most users have gotten the update. Instructions for authoring manifests will be updated at that point.

    The specification provides some additional context on new arguments.

    The 1.2 clients do not know about the new installer type which would cause a bad experience for users on the older version which is why we will wait until the client has rolled out more broadly. The community has been updating the PowerShell tooling in the Windows Package Manager Community Repository to help with manifest generation and testing.

    The functionality is limited to local manifests today. winget install -m <path to directory with manifest>

  20. bc3tech commented on Jun 13, 2022

    @bc3tech

    fair enough, thanks for the context! I'm happy to await broader rollout as well :)

  21. scottwillmoore commented on Jun 28, 2022

    @scottwillmoore

    Is there any roadmap (or tracking issue, should I create one?) to add start menu entries for portable applications? This appears to be discussed as future considerations in the specification. I don't think it would add much complication, as I don't believe there are many edge cases (at least in the context of portable applications). It would be really nice for portable GUI applications to appear in the start/search menu.

  22. denelon commented on Jun 28, 2022

    @denelon
    Collaborator

    Scott Moore (@scottwillmoore)

    Feel free to create new issues. And, take a look at the general Roadmap.

  23. soroshsabz commented on Mar 10, 2023

    @soroshsabz

    blocks #30972

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

    ExperimentalThis experimental feature can be enabled in settingsIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions