Provisioning a host computer for driver development fails

njk@ut 11 Reputation points
2021-09-27T22:04:06.293+00:00

I am trying to provision a remote computer for driver testing according to the instructions here:
https://learn.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/provision-a-target-computer-wdk-8-1

The target (test) computer has FRESHLY INSTALLED Windows 10 (build 19043) plus the WDK downloaded from the MS website (10.0.22000.1), plus the WDK Test Target Setup MSI executed.

The host and target PCs are connected on a point-to-point network and are able to communicate (each one can ping the other successfully and firewalls are off).

Visual Studio Community (16.11.3) on the development computer (Windows 10 build 18362) runs the provisioning "wizard" with "Provision device and choose debugger settings" and it almost works completely, but I get an error stating:

Installing driver test framework
ERROR: Task "Installing driver test framework" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.

The logs in the driver test group explorer indicate:

MSI (s) (18:28) [17:54:21:656]: Note: 1: 1723 2: WDTFInstall_InstallIoSpyFilterDriver 3: WDTFInstallIoSpyFilterDriver 4: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL
CustomAction WDTFInstall_InstallIoSpyFilterDriver returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (18:28) [17:54:21:656]: Product: Windows Driver Testing Framework (WDTF) Runtime Libraries -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action WDTFInstall_InstallIoSpyFilterDriver, entry: WDTFInstallIoSpyFilterDriver, library: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL

Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action WDTFInstall_InstallIoSpyFilterDriver, entry: WDTFInstallIoSpyFilterDriver, library: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL
09/27/2021 17:54:21.660 [3864]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393

I'm following the instructions exactly and this fails every time I try to provision the target computer. Help please!

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,541 questions
{count} vote

8 answers

Sort by: Most helpful
  1. Greg Iven 11 Reputation points
    2021-10-27T02:54:47.897+00:00

    SteeveP-2730 So you got your working? An it was an incompatability between the target os wdk and the host compiler version?

    0 comments No comments

  2. SteveP 256 Reputation points
    2021-10-27T05:20:50.147+00:00

    The incompatibility is between the WDTF runtime .msi files that are part of the WDK installed on the host and the OS of the target.

    VS Driver Test copies WDTF runtime .msi files from the host to the target during provisioning (Driver Test target device configuration). If the target is an earlier OS version than the host there is a very good chance (i.e. 100% in my case) that the copied WDTF runtime .msi will fail to install on the target when the host attempts to deploy a driver for testing.

    WDTF runtime .msi files appear to be very OS-version sensitive yet they do not verify compatibility. This isn't reasonable but it's what we have to deal with.

    I have asked MS to publicly document this ASAP. We'll see.

    0 comments No comments

  3. Greg Iven 11 Reputation points
    2021-10-27T07:19:17.427+00:00

    Thanks alot for the info. I'm guessing (hoping) that in my case the difference between home and pro was the problem. I have a new hard drive coming tomorrow the old has already been removed so I'll have to wait to check until the new drive and os upgrade to pro is done. It still doesn't explain the standalone install failing on the pro machine but if I can get it working on the target that will be good enough. From what few posts i've seen it looks like microsoft isn't putting a lot of development time into the wdtf so prolly not much support either.

    0 comments No comments