Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for installation of portable/standalone apps #182

Closed
KiruyaMomochi opened this issue May 19, 2020 · 24 comments · Fixed by #2233
Closed

Support for installation of portable/standalone apps #182

KiruyaMomochi opened this issue May 19, 2020 · 24 comments · Fixed by #2233
Assignees
Labels
Experimental Issue-Feature
Milestone

Comments

@KiruyaMomochi
Copy link

@KiruyaMomochi KiruyaMomochi commented May 19, 2020

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 @denelon

@KiruyaMomochi KiruyaMomochi added the Issue-Feature label May 19, 2020
@KiruyaMomochi KiruyaMomochi changed the title Support for installation of Portable apps Support for installation of portable/standalone apps May 19, 2020
@timvisee
Copy link

@timvisee timvisee commented May 19, 2020

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.

@RobCannon
Copy link

@RobCannon RobCannon commented May 23, 2020

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.

@denelon denelon added this to the Package Manager Backlog milestone May 23, 2020
@marcomorain
Copy link

@marcomorain marcomorain commented May 23, 2020

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

👍

@koppor
Copy link

@koppor koppor commented May 24, 2020

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.

@darrenj
Copy link

@darrenj darrenj commented May 26, 2020

Also useful for the ngrok tool for HTTP tunnelling.

@karsten3s
Copy link

@karsten3s karsten3s commented Jun 8, 2020

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?

@yazz
Copy link

@yazz yazz commented Jul 8, 2020

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?

@ajeetdsouza
Copy link

@ajeetdsouza ajeetdsouza commented Sep 11, 2020

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.

denelon added a commit that referenced this issue Mar 16, 2022
* Create #182 - Support for installation of portable standalone apps.md

Draft for portable applications.

* Update github alias

It's not a twitter alias.

* Revised edits for portable spec

* spelling

* Icons and Shortcuts

* Channels

* No App Installer means no uninstall.

* rendering path

* Update doc/specs/#182 - Support for installation of portable standalone apps.md

Co-authored-by: JohnMcPMS <johnmcp@microsoft.com>

* Update doc/specs/#182 - Support for installation of portable standalone apps.md

* Update spec with additional clarity

* update portable

* Clarify multiple source installation

* Update spelling for multiple source installation spec

Co-authored-by: Ryan Fu <69221034+ryfu-msft@users.noreply.github.com>
Co-authored-by: JohnMcPMS <johnmcp@microsoft.com>
Co-authored-by: Ryan Fu <Fu.Ryan@microsoft.com>
@denelon denelon added the Experimental label May 31, 2022
@ryfu-msft ryfu-msft linked a pull request Jun 11, 2022 that will close this issue
@bc3tech
Copy link

@bc3tech bc3tech commented Jun 11, 2022

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

@denelon
Copy link
Contributor

@denelon denelon commented Jun 13, 2022

@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>

@bc3tech
Copy link

@bc3tech bc3tech commented Jun 13, 2022

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

@scottwillmoore
Copy link

@scottwillmoore scottwillmoore commented Jun 28, 2022

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.

@denelon
Copy link
Contributor

@denelon denelon commented Jun 28, 2022

@scottwillmoore

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experimental Issue-Feature
Projects
Client-Specifications
  
Spec In Review ⏰
Development

Successfully merging a pull request may close this issue.