What to do if you get this on VSIX installer error: The installation of “Windows Driver Kit” could not be carried out successfully for all selected products

Victoria Victoria 0 Reputation points
2024-08-25T12:33:41.1766667+00:00
Developer technologies | Visual Studio | Extensions
Developer technologies | Visual Studio | Setup
Windows development | Windows Driver Kit (WDK)
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2024-08-26T03:18:56.34+00:00

    Hello @Victoria Victoria,

    There’s a known limitation about WDK extension, see this document: WDK extension fails to install

    If you are using VS 17.11.0 or 17.11.1, uncheck the install extension checkbox in the WDK installation.

    And this document: Install WDK

    In Visual Studio versions 17.11.0 and 17.11.1, the WDK extension is automatically installed with Visual Studio. However, the checkbox to install the VSIX extension still appears in the WDK installer settings. You need to deselect this checkbox to prevent an install failure.

    Since you have tried to reset PC and follow the steps to install WDK, you can check following things:

    1. Open Control Panel, make sure that the WDK has been installed.

    User's image

    1. Open VS Installer, click Modify, Individual components, search "Windows Driver Kit", check to install it.

    User's image

    1. Open VS, try to create a project which uses WDK, see if it works.

    Please feel free to let us know the results :)

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.