Skip to content

Support for filtering packages on installer method #823

Description

Description

Some installers do not support a silent/unattended experience. WinGet should let users express a requirement or a preference for install modes (e.g., silent vs. interactive), configurable in settings and via command-line arguments, and honor it consistently across search, install, and import.

Behavior

Search

  • When a user requires silent, search results should omit packages whose manifests can't satisfy silent install.
  • Allow filtering results to include/exclude interactive-only packages.

Install

  • Honor the user's preferred install mode when the package supports it.
  • If the user requires a mode and it can't be respected for a package, inform the user rather than silently falling back.

Import

  • Respect the user's install-mode preferences when importing a set of packages.
  • If a required mode can't be respected for one or more packages, inform the user.

Notes

  • Should support both a preference (best-effort) and a hard requirement.
  • This capability is a prerequisite to allowing packages with only an interactive install mode into the community repository.

Consolidates #910.

Activity

  1. ghost added
    Needs-TriageIssue needs to be triaged
    on Mar 26, 2021
  2. denelon commented on May 31, 2021

    @denelon
    CollaboratorAuthor

    This feature is required prior to accepting "interactive only" installers into the community repository. Many users are looking for headless/unattended import capabilities.

  3. ghost added a commit that references this issue on Jun 6, 2021
  4. Trenly commented on Jun 16, 2023

    @Trenly
    Contributor

    [Policy] Area-Settings

  5. upintheairsheep commented on Sep 2, 2023

    @upintheairsheep

    The fact dependency support was added before this simple issue is kinda weird.

  6. luzpaz commented on Jan 13, 2024

    @luzpaz

    Any traction here ? (asking due to #107357 being closed)

  7. SkylerWallace commented on Aug 6, 2024

    @SkylerWallace

    Would love to see this get looked at again. Requiring silent installation is a blocker for many programs. Notable ones include HP Support Assistant and Samsung Magician.

    Add a boolean indicator in the manifest like InteractiveInstallOnly.
    Add a search filter to winget search that only lists installers that support silent install like --supports-silent.

  8. Dragon1573 commented on Aug 7, 2024

    @Dragon1573

    Currently we have InstallModesproperty in both schema v1.6.0 and v1.7.0. Changing this to a required property would help. Filter those who only contains interactive.

  9. Stensel8 commented on Apr 15, 2026

    @Stensel8

    Would be nice to get this implemented.

    I made a PR to get a specific game mod into Winget, however if that game is not detected on the system, the mod installer would ask where to install it.

    And there seems to be no way I can do that in Winget.

    See: microsoft/winget-pkgs#357446

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

    Area-SettingsIssue related to WinGet SettingsInteractive-Only-InstallerIssue related to interactive only installersIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions