Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Issue]: Updating RIA.DigiDoc4 4.6.0 and up -> Updating a manifest is only supported with the same number of installer URLs #207693

Open
2 tasks done
rovabunw opened this issue Jan 5, 2025 · 3 comments · May be fixed by #207717 or #207718
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@rovabunw
Copy link
Contributor

rovabunw commented Jan 5, 2025

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Other

Brief description of your issue

This package has been updated up to version 4.5.1. This version used to have two localized MSI's (en-US and et-EE):

https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.5.1
https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.5.1/Digidoc4_Client-4.5.1.4455.x64.en-US.qt.msi
https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.5.1/Digidoc4_Client-4.5.1.4455.x64.et-EE.qt.msi

Since version 4.6.0 it has only one (non localized) MSI:

https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.6.0
https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.6.0/Digidoc4-4.6.0.5305.x64.qt.msi

using:

wingetcreate update -s RIA.DigiDoc4 -u "https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.6.0/Digidoc4-4.6.0.5305.x64.qt.msi" --version 4.6.0.5305
wingetcreate update -s RIA.DigiDoc4 -u "https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.7.0/Digidoc4-4.7.0.5322.x64.qt.msi" --version 4.7.0.5322
etc

results in:

"Updating a manifest is only supported with the same number of installer URLs."

how should this be updated?

Steps to reproduce

wingetcreate update -s RIA.DigiDoc4 -u "https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.6.0/Digidoc4-4.6.0.5305.x64.qt.msi" --version 4.6.0.5305

Actual behavior

nothing ->

"Updating a manifest is only supported with the same number of installer URLs."

Expected behavior

updating the manifest with one installer

Environment

Windows Package Manager (Preview) v1.10.40-preview
Windows: Windows.Desktop v10.0.26100.2605
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.40.0

Screenshots and Logs

No response

@rovabunw rovabunw added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jan 5, 2025
@rovabunw rovabunw changed the title [Package Issue]: RIA.DigiDoc4 4.6.0 [Package Issue]: Updating RIA.DigiDoc4 4.6.0 and above -> Updating a manifest is only supported with the same number of installer URLs Jan 5, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 5, 2025
@rovabunw rovabunw changed the title [Package Issue]: Updating RIA.DigiDoc4 4.6.0 and above -> Updating a manifest is only supported with the same number of installer URLs [Package Issue]: Updating RIA.DigiDoc4 4.6.0 and up -> Updating a manifest is only supported with the same number of installer URLs Jan 5, 2025
@Dragon1573
Copy link
Contributor

Cloud you please try using Komac or Tools/YamlCreate.ps1?

@Dragon1573
Copy link
Contributor

@stephengillie - I think this issue might related to wingetcreate.exe itself? Should this issue be transferred to https://github.com/microsoft/winget-create?

@Dragon1573 Dragon1573 linked a pull request Jan 5, 2025 that will close this issue
7 tasks
@microsoft-github-policy-service microsoft-github-policy-service bot added In-PR and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Jan 5, 2025
@Dragon1573 Dragon1573 linked a pull request Jan 5, 2025 that will close this issue
7 tasks
@Trenly
Copy link
Contributor

Trenly commented Jan 6, 2025

It isn't an issue with winget-create, it's intentional that wingetcreate update only works with the same number of URLS. In some cases, installer overrides must be provided with the URLs in order for winget-create to properly match them to installers. In the event that the number of installers needs to be changed, wingetcreate new must be used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In-PR Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
3 participants