Replies: 1 comment 1 reply
-
The client now has a "--installer-type" argument that can be used to specify the installer type preferred. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Take https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Mozilla/Firefox/115.0.2/Mozilla.Firefox.installer.yaml for example, this manifest offers both MSI and EXE install types for my language and architecture and I was wondering how the MSI is chosen over the EXE?
Example PowerShell code.
From the source, it appears it purely comes down to the order of the branching in
AppInstaller::Manifest::ConvertToInstallerTypeEnum()
but I'm not 100% sure it's as simple as that?winget-cli/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp
Lines 120 to 167 in 881904c
Beta Was this translation helpful? Give feedback.
All reactions