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 non-installer .exe (Direct download or via Pwsh script) #298

Closed
MichelDiz opened this issue May 22, 2020 · 3 comments
Closed

Support non-installer .exe (Direct download or via Pwsh script) #298

MichelDiz opened this issue May 22, 2020 · 3 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@MichelDiz
Copy link

Description of the new feature/enhancement

Some companies maintain windows binaries without an installation package. But perfectly valid. I would like to be able to use Winget to install such a package without the need to create a .msi or similar. (which would make the process more complex and difficult to maintain)

Something like Homebrew. But focusing on the Windows context.

Proposed technical implementation details (optional)

e.g:

OBS. Windows, today, has native support for TAR.

Via YAML

Id: Dgraph-io.Dgraph
Publisher: Dgraph Labs Inc.
Name: Dgraph
Description: Fast, Distributed Graph DB.
Version: 20.03.0
Homepage: https://dgraph.io
Tags: Go,Graph,DB
License: Apache 2.0
LicenseUrl: https://raw.githubusercontent.com/dgraph-io/dgraph/master/licenses/DCL.txt
InstallerType: gz # enumeration of supported installer types (exe, msi, msix, zip, tar, gz, ps1)
Installers:
  - Arch: x64 # enumeration of supported architectures
    URL: https://github.com/dgraph-io/dgraph/releases/download/v20.03.0/dgraph-windows-amd64.tar.gz
    Sha256: string # SHA256 calculated from installer
    InstallerType: manual
    pathToInstall: "%SystemDrive%\program files\dgraph-io\"
# ManifestVersion: 0.1.0

Via PS1

InstallerType: ps1 # enumeration of supported installer types (exe, msi, msix, zip, tar, gz, ps1)
Installers:
  - Arch: x64 # enumeration of supported architectures
    URL: https://raw.githubusercontent.com/dgraph-io/install-scripts/master/install.ps1
    Sha256: string # SHA256 would be calculated in a TMP path with the downloaded .exe via install.ps1
# ManifestVersion: 0.1.0
@MichelDiz MichelDiz added the Issue-Feature This is a feature request for the Windows Package Manager client. label May 22, 2020
@ghost ghost added the Needs-Triage Issue need to be triaged label May 22, 2020
@koppor
Copy link

koppor commented May 24, 2020

Seems to be a refinement of #182.

Strongly related:

@denelon
Copy link
Contributor

denelon commented Aug 6, 2021

@MichelDiz this looks like a Duplicate of #182. We do plan to support portable/standalone applications and .zip in a similar manner. The intent would be to have the Windows Package Manager generate entries in Apps & Features so we can make sure the path is maintained, and we can perform upgrades.

@ghost
Copy link

ghost commented Aug 6, 2021

@MichelDiz we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

@ghost ghost closed this as completed Aug 6, 2021
@ghost ghost added the Resolution-Duplicate Issue is a duplicate label Aug 6, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants