microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.06k stars 1.43k forks source link

Install4J installer support #360

Open Witchilich opened 4 years ago

Witchilich commented 4 years ago

Description of the new feature/enhancement

Support for Install4J installer, so that we can use apps like BiglyBT https://www.ej-technologies.com/products/install4j/overview.html

Proposed technical implementation details (optional)

Id: BiglySoftware.BiglyBT
Publisher: BiglySoftware
Name: BiglyBT
AppMoniker: BiglyBT
Version: 2.4.0.0
License: GNU General Public License v2.0
LicenseUrl: https://github.com/BiglySoftware/BiglyBT/blob/v2.4.0.0/LICENSE
Homepage: https://www.biglybt.com/
MinOSVersion: 10.0.0.0
Description: BiglyBT is a feature filled, open source, ad-free, bittorrent client forked from Azureus.
Tags: BiglyBT, Bittorrent Client, Bittorrent, Torrent, Azureus
Protocols: "magnet, dht"
FileExtensions: "torrent, biglybt"
Installers:
  - Arch: x64
    Url: https://github.com/BiglySoftware/BiglyBT/releases/download/v2.4.0.0/GitHub_BiglyBT_Installer64_WithJava.exe
    Sha256: c3427755a61a6a074be2fe72b2efc53132e1c8cb6c3e0a7ff1c36836f09af3ec
    InstallerType: Install4J
    SystemAppId: 0112-2557-8304-7048
wjk commented 4 years ago

You don’t need any special support in winget itself for this use-case. You can simply specify the install type as EXE and pass the -q flag in the Switches/Silent field in the YAML manifest.

denelon commented 4 years ago

We can look at metadata associated with Install4J to see if there are attributes the winget.exe client can take advantage of.