none
Preview WDK 10.0.16257 does not install with VS 2017 Release

    Question

  • I"ve tried to install the insider preview WDK 10.0.16257 as described here, on Windows 8.1 64-bit (Lenovo laptop)


    Result: no go.

    Steps:

    1. VS 2017 Community Edition already was installed, with C++ workload.
    ARM toolkit not installed.
    The VS version is 15.2 (26430.16) Relelase (not a "preview").


    2. Disable strong name validation
     - The reg commands completed successfully.

    3. Mounted the SDK Insider Preview ISO image and installed.
    Success, no errors or warnngs.

    4. Mounted the WDK Insider Preview ISO image and installed.

    Success, no errors or warnngs.

    However, this did not occur:
    "During installation you will see the Visual Studio installer install the WDK Visual Studio Extensions."

    (note: did *not* check the "Learn more about Windows driver kit" checkbox, clicked on CLOSE. )

    5.
    Started the VS2017, no traces of WDK are in the IDE. 
    No project templates, no "DRIVERS" in the main IDE menu.

    6.
    Run the Visual Studio installer, tried to Modify the VS2017 Community.
    Nothing related to the WDK is visible there.
    The Win10 SDK and WDK version 10.0.16257 are not visible in the list of individual components.

    Is there anything else that may work on Win8.1, or it requires Windows 10?

    Regards,

    -- pa

    Thursday, August 10, 2017 4:56 PM

Answers

  • Sounds like the VSIX did not get kicked off.  

    This means all the headers and libs were installed, but the vsix installer (to create the menu items in the IDE was not run).

    from an administrative command prompt, go to

    C:\Program Files (x86)\Windows Kits\10\bin\10.0.16257.0\vsix

    ... and launch WDK.VSIX

    Please let me know if that does it.

    • Marked as answer by Pavel A Friday, August 11, 2017 8:04 PM
    Friday, August 11, 2017 6:48 PM

All replies

  • And by the way, why there are a lot of errors in Event Viewer about ARM executables, like this:

    Source "SideBySide"
    EventID: 33 and 63

    "Activation context generation failed for "C:\Program Files (x86)\Windows Kits\10\bin\arm\signtool.exe.Manifest". Dependent Assembly Microsoft.Windows.Build.Appx.AppxSip.dll,version="0.0.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis"

    Activation context generation failed for "C:\Program Files (x86)\Windows Kits\10\bin\arm64\wsutil.exe".Error in manifest or policy file "C:\Program Files (x86)\Windows Kits\10\bin\arm64\wsutil.exe" on line 9. The value "arm64" of attribute "processorArchitecture" in element "assemblyIdentity" is invalid."

    Does it attempt to load or execute ARM binaries on amd64??

    -- pa


    • Edited by Pavel A Thursday, August 10, 2017 5:09 PM
    Thursday, August 10, 2017 5:08 PM
  • Sounds like the VSIX did not get kicked off.  

    This means all the headers and libs were installed, but the vsix installer (to create the menu items in the IDE was not run).

    from an administrative command prompt, go to

    C:\Program Files (x86)\Windows Kits\10\bin\10.0.16257.0\vsix

    ... and launch WDK.VSIX

    Please let me know if that does it.

    • Marked as answer by Pavel A Friday, August 11, 2017 8:04 PM
    Friday, August 11, 2017 6:48 PM

  • from an administrative command prompt, go to

    C:\Program Files (x86)\Windows Kits\10\bin\10.0.16257.0\vsix

    ... and launch WDK.VSIX


    Thank you Bob, it worked!

    All templates and "Driver" in the VS menu is now visible. I have not tested anything functional yet.

    A side note: the VSIX installer complained about invalid digital signature. From the log, it was because it could not contact the cert revocation server. The machine is offline.

    Regards,

    -- pa


    Friday, August 11, 2017 8:03 PM
  • You need to install Visual Studio while WDK isn't installed (if it is already installed, uninstall it first). Then install WDK and after the installation is completed you will be asked if you with to install the VS extension. 

    Michael Haephrati

    Thursday, August 16, 2018 8:28 PM
  • Thank you Michael. VS was installed in my case before WDK.

    -- pa

     
    Thursday, August 16, 2018 9:12 PM