Skip to content

why is cmd => winget install 7zip.7zip an .exe and not an .msi? #3393

Answered by Trenly
hueldoeu asked this question in Q&A
Discussion options

You must be logged in to vote

I believe this has to do with how winget determines which installer to use, since both the MSI and EXE are available in the manifest.

Currently, there is no way to specify a preferred installer type, so winget will use the "most applicable" installer. How it determines most applicable on a fresh install, I'm not entirely sure; however, I know that it takes into account system architecture, requested install scope, locale, and OSVersion. When performing an upgrade, winget will try to match the same install technology that was previously used, so if you installed using the MSI, the upgrade should default to the MSI

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hueldoeu
Comment options

@hueldoeu
Comment options

@denelon
Comment options

Answer selected by hueldoeu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants