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

Query guid in packagecache directory to determin whether some packages needs upgrade #1001

Closed
lychichem opened this issue May 27, 2021 · 2 comments
Labels
Area-Matching Issue related to correlation between installed package and manifest Command-Upgrade Issue related to WinGet Upgrade Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@lychichem
Copy link

lychichem commented May 27, 2021

Description of the new feature/enhancement

There are some packages, for example, all versions of Microsoft.VC++xxxx-xxx, are distributed as a bundle. They report their GUID in packagecache directory in winget list as productcode. Now winget upgrade is unable to list Microsoft.VC++2015-2019-xxx as upgradable when there is an updated version in winget source. So, a new feature for querying this key is needed.

Proposed technical implementation details (optional)

Winget should also query GUID in BundleCachePath in registry when winget upgrade is execuated, and a bundled exe package like Microsoft.VC++xxxx-xxx need to provide it as product code, either manually or by automated process.

@lychichem lychichem added the Issue-Feature This is a feature request for the Windows Package Manager client. label May 27, 2021
@ghost ghost added the Needs-Triage Issue need to be triaged label May 27, 2021
@lychichem
Copy link
Author

The GUID can be checked at HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{bundle guid}\BundleCachePath
image

@lychichem lychichem changed the title Query BundleProviderKey in registry to determin whether some packages needs upgrade Query guid in packagecache directory to determin whether some packages needs upgrade May 27, 2021
@denelon denelon removed the Needs-Triage Issue need to be triaged label May 27, 2021
@denelon denelon added this to the Backlog - Windows Package Manager milestone May 27, 2021
@Trenly
Copy link
Contributor

Trenly commented Jun 16, 2023

[Policy] Command-Upgrade
[Policy] Area-Matching

@microsoft-github-policy-service microsoft-github-policy-service bot added Area-Matching Issue related to correlation between installed package and manifest Command-Upgrade Issue related to WinGet Upgrade labels Jun 16, 2023
@denelon denelon modified the milestones: Backlog-Client, v1.6 Client Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Matching Issue related to correlation between installed package and manifest Command-Upgrade Issue related to WinGet Upgrade Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

3 participants