Skip to content

Feature: search package index by installer-type #4131

Description

@maphew

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.

Originally posted by matt wilkie (@maphew) in #1887 (comment)

Activity

  1. Trenly commented on Feb 1, 2024

    @Trenly
    Contributor
  2. added
    Issue-Feature
    Command-Search
    and removed
    Needs-Triage
    on Feb 1, 2024
  3. dftf-stu commented on Apr 9, 2026

    @dftf-stu

    On a similar theme, it would also be nice if winget show <package.name> listed all available installers

    winget show TeamViewer.TeamViewer only lists one:

    Yet if I run winget download TeamViewer.TeamViewer --installer-type nullsoft then it does grab the EXE.

    Couldn't winget show list both?

  4. workingmachine commented on Nov 13, 2026

    @workingmachine

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-SearchIssue-Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions