[Pinning] - Usage of --id
should bypass installed package check
#3141
Labels
Command-Pin
Issue related to WinGet Pin
Experimental
This experimental feature can be enabled in settings
Issue-Feature
This is a feature request for the Windows Package Manager client.
Milestone
Description of the new feature / enhancement
The current implementation of pinning checks to try and map to an installed package before adding the pin. Since the pin only requires the package ID and source list, when
--id
is provided, there should be no need to attempt the mapping. The given ID can be added to the pinning database directly.This will help when there are side-by-side installs or matching issues which may prevent pinning due to multiple packages found.
Proposed technical implementation details
This behavior probably should not be default, but enabled through settings.
The text was updated successfully, but these errors were encountered: