You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: search package index by installer-type #4131
It would be useful to query package index by installer-type, for example to show only portable apps and exes that can be installed in without needing elevated permissions. Since there are several installer-types this would be general solution for a variety of queries.
winget search --installer-type portable,exe,zip
Also consider making available to list command so the local inventory can be assessed:
winget list --installer-type appx,msix
There is the ability to search by tag, winget search --tag portable, but that's not robust or reliable as it only queries metadata which is free form and haphazard.
I want to add a real-world use case that makes this feature highly necessary: PDF24 Creator. Hiding the available installer types causes two major roadblocks:
1. The Deployment Blocker:
The default MSI installer chosen by winget fails (Error 1603) when trying to silently exclude specific components via --custom arguments. The only way to get a clean, automated install is to force the Inno Setup (.exe) variant, which handles /COMPONENTS exclusions perfectly.
2. The Security & Verification Blocker:
Because the API only returns the default 'best match' (MSI), GUI wrappers like UniGetUI are forced to display the wrong Download URL and SHA256 hash in their update preview. For admins who need to verify hashes (e.g., via VirusTotal) before applying an update, it is crucial that the API exposes all installer types so the GUI can accurately reflect the actual payload being downloaded.
Exposing all available installer technologies (not just the 'best match') would solve a massive headache for both automated deployments and security verifications.
Activity
Trenly commentedon Feb 1, 2024
--installer-typewithwinget list#4003dftf-stu commentedon Apr 9, 2026
On a similar theme, it would also be nice if
winget show <package.name>listed all available installerswinget show TeamViewer.TeamVieweronly lists one:Yet if I run
winget download TeamViewer.TeamViewer --installer-type nullsoftthen it does grab the EXE.Couldn't
winget showlist both?workingmachine commentedon Nov 13, 2026
I want to add a real-world use case that makes this feature highly necessary: PDF24 Creator. Hiding the available installer types causes two major roadblocks:
1. The Deployment Blocker:
The default MSI installer chosen by winget fails (Error 1603) when trying to silently exclude specific components via
--customarguments. The only way to get a clean, automated install is to force the Inno Setup (.exe) variant, which handles/COMPONENTSexclusions perfectly.2. The Security & Verification Blocker:
Because the API only returns the default 'best match' (MSI), GUI wrappers like UniGetUI are forced to display the wrong Download URL and SHA256 hash in their update preview. For admins who need to verify hashes (e.g., via VirusTotal) before applying an update, it is crucial that the API exposes all installer types so the GUI can accurately reflect the actual payload being downloaded.
Exposing all available installer technologies (not just the 'best match') would solve a massive headache for both automated deployments and security verifications.