-
Notifications
You must be signed in to change notification settings - Fork 88
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
wingetcreate doesn't support multiple nodes from single installer #166
Comments
Hey @dpprdan, Thanks for filing this issue. We don't currently support updating multiple nodes from a single installer as it is not always clear which nodes should be updated with the new installer. However, we just published our newest release of Winget-Create v4.0.3.0 which has a new interactive feature for the update command. You can now manually input the installer url you want to update a given installer node with. Hopefully that resolves your issue. Thanks! |
The interactive flag solves this for my use-case above. |
FWIW I am also running into this issue with a CI scenario. Matching on Scope seems the most obvious choice for making this work, but unfortunately I haven't found a way to specify that when building my Inno installers. My team is really trying to use |
It seems like |
Note that our URLs are slightly different (one uses the name https://github.com/microsoft/Git-Credential-Manager-Core/releases/download/v2.0.567/gcmcore-win-x86-2.0.567.18224.exe |
In the exe manifest (at least for Inno Setup, I don't know if everyone cleanly sets this), this key stuck out to me:
It determines whether the process is to be elevated. Couldn't we use this to determine scope? |
I will admit, I'd only looked at the metadata in the |
Resolved with the introduction of architecture (#206) and scope (#367) override syntax You would be able to use a command like
once #367 makes its way into a release of winget-create cc @denelon |
@dpprdan was that the missing piece to automate the release process ? Do you plan to test this new feature for next release ? |
@cderv you mean missing with respect to quarto-dev/quarto-release-bundles#1? I don't know to be honest. |
yeah that it what I meant. I'll look it into before 1.4 release once new winget is released. |
cc @denelon Resolved in WinGet-Create 1.2.6.0 |
Brief description of your issue
wingetcreate doesn't support multiple nodes from a single installer.
The PostgreSQL.pgAdmin v5.6 installer manifest for example contains two installer nodes with the same URL, one for user and machine scope each, as advised here.
When trying to update this manifest to the latest version, I get the error message "The number of new installer packages must match the number of existing installer packages.".
Steps to reproduce
Run the following to update the PostgreSQL.pgAdmin manifest to the latest version.
Expected behavior
Update the manifest to the latest version as specified.
Actual behavior
Error message: "The number of new installer packages must match the number of existing installer packages."
Environment
The text was updated successfully, but these errors were encountered: