You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Winget says package is already installed, when it isn't #3910
Area-ExternalIssue outside of winget-cli sourceArea-MatchingIssue related to correlation between installed package and manifestIssue-BugIt either shouldn't be doing this or needs an investigation.Side-by-SideIssue related to side by side package installation
Either both packages install, or the second command explains that Gyan.FFmpeg.Shared cannot be installed alongside Gyan.FFmpeg (ideally, it would also explain that Gyan.FFmpeg.Shared is a superset of Gyan.FFmpeg, and propose to uninstall Gyan.FFmpeg automatically before installing Gyan.FFmpeg.Shared).
Actual behavior
The second command just says the package is already installed, which is not true and confusing. What's particularly problematic to me, is that the commands use IDs, so it doesn't make sense to me that 2 packages with different IDs cause this behavior.
Environment
Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0
I see what's happening. The part in parenthesis is generally ignored. This is often a mechanism used to indicate scope or architecture but hasn't been reliable enough to use as authoritative since it's just a "displayName" field.
WinGet would see both entries as the same package. It may be possible to add Apps and Features entries to the manifests to clearly differentiate the "displayName" properties. We've been discussing changing the default logic to include what is in parenthesis when the Apps and Features entries are present in the manifest.
With winget v1.8.1791, following the Steps to reproduce no longer gives an error message, but now they both show with the same Id with winget list. However, if you explicitly do winget list --id Gyan.FFmpeg.Shared, it only lists one as expected. So there's still a bug here:
(WinGet 1.9.25200) GISInternals.GDAL and its plugins, e.g. GISInternals.GDAL.FileGDB, have the same or a similar problem. Trying to install the plugins after installing the core results in an error message:
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
A workaround is to use the --force flag to install the plugin, after which it works as expected. (Asking WinGet to install a plugin without the core installed also works as expected - the core is a dependency and both are installed.)
A second problem is that WinGet can't uninstall only the plugin; you have to either uninstall the core and all plugins at once or use Windows Settings > Apps > Installed Apps.
In AppsAndFeatureEntries, GISInternals.GDAL and the plugins share the same Publisher, DisplayVersion, and UpgradeCode, but not the same DisplayName (including the part outside of any parentheses) or ProductCode.
(I submitted the manifests for these but I am not the publisher. Is there something I can rewrite on the manifest side to avoid the problem?)
Area-ExternalIssue outside of winget-cli sourceArea-MatchingIssue related to correlation between installed package and manifestIssue-BugIt either shouldn't be doing this or needs an investigation.Side-by-SideIssue related to side by side package installation
Activity
denelon commentedon Nov 20, 2023
Are there any difference in Windows Apps & Feature via settings between how these two applications appear when they are installed?
anthonyvdotbe commentedon Nov 21, 2023
Yes.

Gyan.FFmpeg.Shared:and

Gyan.FFmpeg:denelon commentedon Nov 21, 2023
I see what's happening. The part in parenthesis is generally ignored. This is often a mechanism used to indicate scope or architecture but hasn't been reliable enough to use as authoritative since it's just a "displayName" field.
WinGet would see both entries as the same package. It may be possible to add Apps and Features entries to the manifests to clearly differentiate the "displayName" properties. We've been discussing changing the default logic to include what is in parenthesis when the Apps and Features entries are present in the manifest.
denelon commentedon Apr 2, 2024
We've been working on the side-by-side scenarios. You could try the latest release and enable the experimental feature on:
Please provide feedback at:
denelon commentedon Jul 3, 2024
Is this problem still occurring with WinGet 1.8?
anthonyvdotbe commentedon Jul 4, 2024
With winget v1.8.1791, following the
Steps to reproduceno longer gives an error message, but now they both show with the sameIdwithwinget list. However, if you explicitly dowinget list --id Gyan.FFmpeg.Shared, it only lists one as expected. So there's still a bug here:Nnnes commentedon Jan 3, 2025
(WinGet 1.9.25200)
GISInternals.GDALand its plugins, e.g.GISInternals.GDAL.FileGDB, have the same or a similar problem. Trying to install the plugins after installing the core results in an error message:A workaround is to use the
--forceflag to install the plugin, after which it works as expected. (Asking WinGet to install a plugin without the core installed also works as expected - the core is a dependency and both are installed.)A second problem is that WinGet can't uninstall only the plugin; you have to either uninstall the core and all plugins at once or use Windows Settings > Apps > Installed Apps.
In AppsAndFeatureEntries,
GISInternals.GDALand the plugins share the same Publisher, DisplayVersion, and UpgradeCode, but not the same DisplayName (including the part outside of any parentheses) or ProductCode.(I submitted the manifests for these but I am not the publisher. Is there something I can rewrite on the manifest side to avoid the problem?)
Screenshot