-
Notifications
You must be signed in to change notification settings - Fork 31
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
Yori in WinGet #43
Comments
This is something I've been watching too, although it won't work as-is and the next step might be to wait for a bit. The strange thing about winget as a package manager is it's just invoking an application's installer. It wants this to be done silently, so it becomes a test of the installer's defaults. But, various issues raised here in the past have shown that people really care about these values - whether a path environment variable is changed, and what shortcuts are created, for example. Linux package managers, and Chocolatey for that matter, don't have this problem because they have a defined location for programs to be installed. In Chocolatey's case, the location was selected when it was installed. I'm hoping that things like microsoft/winget-cli#140 will really enable this to work better. Not because of the zip file format, but because it forces the package manager to decide on the location and path configuration. Having done that, any arbitrary command line tools can be added without needing to make these choices themselves. In that environment, something like ypm becomes superseded by winget, since its typical use case is about installing/uninstalling/updating compressed archives of files into a known location. |
I should add: I don't see a way to pass command line arguments to the installer in winget, but this is important to get a silent install to work. It appears to have a taxonomy of installer types so it knows what command line to generate. If the goal were to support winget in its current form, I think the best thing Yori can do is create a ysetup-silent.exe that has no UI but performs the same actions based on some predetermined defaults. This might be a fallback if winget decide not to address the consequences of zip file installation. |
It's supported. For instance see 7zip's YAML
|
I know there are already requests for Scoop and Chocolatey, but consider making Yori available in WinGet. This seems like a good candidate for the fledgling package management system.
The text was updated successfully, but these errors were encountered: