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

wingetcreate does not update product code inside ARP Entries #524

Open
vedantmgoyal9 opened this issue Mar 20, 2024 · 3 comments
Open

wingetcreate does not update product code inside ARP Entries #524

vedantmgoyal9 opened this issue Mar 20, 2024 · 3 comments

Comments

@vedantmgoyal9
Copy link
Contributor

Brief description of your issue

Title.

Steps to reproduce

Just take any manifest from winget-pkgs and run winget update.

Expected behavior

Product Code and Upgrade Code should be updated if they are present inside AppsAndFeaturesEntries.

Actual behavior

Product Code and Upgrade Code are NOT updated if they are present inside AppsAndFeaturesEntries.

Environment

Latest wingetcreate version.
@Masamune3210
Copy link

It's not winget's job, that falls under one of the last things the program updater is supposed to change whenever it is preforming an upgrade. As you can see, an annoying amount of them do not do so correctly.

@vedantmgoyal9
Copy link
Contributor Author

I meant wingetcreate update.

@mdanish-kh
Copy link
Contributor

I think one concern may be that AppsAndFeaturesEntries can have multiple nodes. How would wingetcreate know which node to update? Granted we currently only take the "primary" ARP entry in the community repo, and I've handled this partially in #520 where I only update the first node that's wingetcreate sees. Might need a more precise way to handle these though

@vedantmgoyal9 vedantmgoyal9 changed the title wingetcreate does not update product code and upgrade code when they are present inside ARP Entries wingetcreate does not update product code and upgrade code inside ARP Entries Sep 5, 2024
@vedantmgoyal9 vedantmgoyal9 changed the title wingetcreate does not update product code and upgrade code inside ARP Entries wingetcreate does not update upgrade code inside ARP Entries Sep 5, 2024
@vedantmgoyal9 vedantmgoyal9 changed the title wingetcreate does not update upgrade code inside ARP Entries wingetcreate does not update product code inside ARP Entries Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants