microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.37k stars 1.45k forks source link

WDK and SDK Side by Side installs do not work correctly #4501

Open KevinLaMS opened 6 months ago

KevinLaMS commented 6 months ago

Brief description of your issue

The SDK and WDK packages on a major version should be side by side. Example: Windows Driver Kit - Windows 10.0.22621.2428 Microsoft.WindowsWDK.10.0.22621 10.1.22621.2428 winget Windows Driver Kit - Windows 10.1.22000.1 Microsoft.WindowsWDK.10.0.22000 10.1.22000.1 winget Windows Driver Kit Microsoft.WindowsWDK.10.0.19041 10.1.19041.685 winget

I should be able to install these 3 packages together

Steps to reproduce

winget install Microsoft.WindowsWDK.10.0.22621 winget install Microsoft.WindowsWDK.10.0.22000

1) notice you are blocked from installing. Found an existing package already installed. Trying to upgrade the installed package...

You can force it by typing winget install Microsoft.WindowsWDK.10.0.22000 --force

This will install correctly, but then the ID is messed up. image

Expected behavior

winget install will install both with no errors And there will be not sharing the ID in List command.

Actual behavior

Winget detects a different version as an upgrade.

Environment

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget --info
Windows Package Manager v1.7.11261
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26220.5000
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11261.0
github-actions[bot] commented 6 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.