Skip to content

Inconsistent name between results from winget upgrade and Get-WinGetPackage #5901

@NewPublicUser

Description

@NewPublicUser

Relevant area(s)

WinGet CLI, PowerShell Module

Relevant command(s)

winget upgrade

Brief description of your issue

When run winget upgrade and Get-WinGetPackage | Where-Object { $_.IsUpdateAvailable }, the name of the apps not is the same!!! (ho is this possible!!!!)

Steps to reproduce

PS > Get-WinGetPackage | Where-Object { $_.IsUpdateAvailable }

Name Id Version Available


Visual Studio BuildTools 2022 Microsoft.VisualStudio.2022.BuildTools < 17.14.6 17.14.21
Microsoft Visual C++ 2015-2022 Redistributable (x86) Microsoft.VCRedist.2015+.x86 14.36.32532.0 14.50.35719.0
Microsoft Visual C++ 2015-2022 Redistributable (x64) Microsoft.VCRedist.2015+.x64 14.36.32532.0 14.50.35719.0
App Installer Microsoft.AppInstaller 1.27.349.0 1.27.350.0

PS > winget upgrade
Name Id Version Available Source

Visual Studio Build Tools 2022 Microsoft.VisualStudio.2022.BuildTools < 17.14.6 17.14.21 winget
Microsoft Visual C++ 2015-2022 Redistributab… Microsoft.VCRedist.2015+.x86 14.36.32532.0 14.50.35719.0 winget
Microsoft Visual C++ 2015-2022 Redistributab… Microsoft.VCRedist.2015+.x64 14.36.32532.0 14.50.35719.0 winget
App Installer Microsoft.AppInstaller 1.27.349.0 1.27.350.0 winget
4 upgrades available.

Expected behavior

The SAME name...

Actual behavior

Not is the SAME name...

Environment

Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.2033
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.349.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.PowerShellIssue related to WinGet PowerShell Module or cmdletResolution-DuplicateIssue is a duplicate

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions