microsoft / microsoft/winget-create
wingetcreate reports new error I never got before about "Multiple matches found for Neutral Msix installer detected"
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 651
- Forks
- 114
- Avg merge
- 7h 52m
- Merged PRs (30d)
- 3
Description
Brief description of your issue
This command line used to work, because I have a winget published verion 2.9.0.14, but when I run it again on the same msixbundle it now fails
Steps to reproduce
wingetcreate update Microsoft.XMLNotepad --version 2.9.0.14 -o %WINGET_SRC% -u https://github.com/microsoft/XmlNotepad/releases/download/2.9.0.14/XmlNotepadPackage_2.9.0.14_AnyCPU.msixbundle
Expected behavior
no error
Actual behavior
Each new installer URL must have a single match to an existing installer based on architecture, installer type and scope. The following installers failed to match an existing installer:
Multiple matches found for Neutral Msix installer detected from the url: https://github.com/microsoft/XmlNotepad/releases/download/2.9.0.14/XmlNotepadPackage_2.9.0.14_AnyCPU.msixbundle
Environment
Windows Package Manager Manifest Creator v1.10.3.0
Copyright (c) Microsoft Corporation. All rights reserved.
Operating System: Microsoft Windows NT 10.0.26200.0
System Architecture: X64
Winget-Create Directories Path
------------------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\DiagOutputDir
User settings %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\settings.json
Installer cache %TEMP%\wingetcreate
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the supplied wingetcreate update command against the XmlNotepad MSIX bundle and inspect how installer matches are selected. Trace the handling of the reported neutral MSIX URL; done means the update no longer reports multiple matches and completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 54/100