-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Specify InstallerType #1166
Comments
Just a question for consideration - Would you expect that such a feature would consider the installer type inside of an archive, or the archive itself? E.g - If a user specifies |
Great question, I'm glad you brought it up. I would say it should, but I'm open to opposing viewpoints. |
Any news on this? |
I believe the default ordering should be:
The .zip type should follow the same ordering as above and logically isn't an installer type per se' but more about a distribution mechanism. The settings should use the installer types as an enumeration for the purposes of validation. We should also reason about users having the ability to exclude installer types so they could for example only allow MSIX based packages, or they could exclude portable packages. |
This is being included in 1.6 due to the work to support: |
It would be very interesting to advance in this process to be able to specify the type without depending on the order that has been indicated in the manifest. For example, for a few months the usual installation of Foxit Reader has not worked because the default installer used by winget has been changed. I explained this more than a month ago in this tweet https://twitter.com/manelrodero/status/1674022113085145089 and later indicated it in the SpecterShell commit. Today a new version has appeared with the same "problem", it does not support the parameters that are passed through an override. Any ideas on how to use the second installer as long as we can't specify the type? |
@manelrodero this is a new feature in WinGet 1.6. I don't believe there is a workaround until this gets released. We're expecing a Release Candidate build in the next week or so and plan to go out with this at the end of September. |
@manelrodero, this feature has been checked in but won't be available until our 1.6 release. Once that is available, you will be able to specify the exact installer type you want by using the example: |
Add an argument and settings to specify installer type
As a user I would like to be able to specify which installer type to use on my machine.
Proposed technical implementation details (optional)
This could be an argument like:
winget install foo.bar --installer-type exe
There could also be settings to specify a "preferred" installer type or a "required" installer type.
Given a "required" installer type, the search results could be trimmed to include only packages with manifests supporting my "required" installer type.
The text was updated successfully, but these errors were encountered: