-
why is cmd => winget install 7zip.7zip an .exe and not an .msi? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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