Cannot find installed software when using custom private feed #2120
-
Hi all, my team are facing a problem when hosting a private feed We change package identifier and version of software in our private feed, then we install the software After that, we use 'list' command to find the installed software From the results, we cannot find the installed software because the id is different from our new_package_identifer, also the new_version. I make this new discussion to get confirmation from winget team. Do we currently support to keep custom id and custom version from private feed? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
The matching logic is based on several different factors. We look at registry information powering Windows Apps & Features attempting to find a match with a manifest in a configured source. If it's MSIX, we look at Package Family Name. For MSI we look at Name, Publisher, Product Code, and Upgrade Code. Similar logic is used for .exe based installers. If the manifest has the information in the "AppsAndFeatures" collection, that will improve matching further (in the future). We're still working on implementing better heuristics and matching logic to help in this area. |
Beta Was this translation helpful? Give feedback.
-
Related Issue. |
Beta Was this translation helpful? Give feedback.
-
@denelon So, you mean it depends on MSI (or MSIX) executable file, right? Is there any way to keep the package identifier and package version (force) the same as we use: winget install ... -source PrivateFeed and winget list -source PrivateFeed. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, do we have any update on this? Does winget support installing software with custom packageIdentifier and packageVersion? |
Beta Was this translation helpful? Give feedback.
The matching logic is based on several different factors.
We look at registry information powering Windows Apps & Features attempting to find a match with a manifest in a configured source.
If it's MSIX, we look at Package Family Name. For MSI we look at Name, Publisher, Product Code, and Upgrade Code. Similar logic is used for .exe based installers. If the manifest has the information in the "AppsAndFeatures" collection, that will improve matching further (in the future). We're still working on implementing better heuristics and matching logic to help in this area.