Failed to install WDTF on configuring a target machine for debugging drivers

tampopo 1 Reputation point
2022-02-15T02:57:14.617+00:00

I have been configuring a target machine to debug drivers.
I launched Visual Studio 2019 on the host machine,
clicked Extensions → Driver → Test → Configure Devices,
pressed "Add New Device" button and entered the IP address of the target and the host machine.
Almost of all the installation was completed successfully,
but only "Installing driver test framework" failed as follows:

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 installation log tells as follows:

Progress event: Current: 9, Max: 15, Message: "Installing driver test framework"  
[09:07:19:796]: Installing driver test framework  
[09:07:19:796]: [Installing driver test framework] Command Line:  
msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi" /qb- KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi_install.log"  
Result file "%SystemDrive%\WDTFInstallText.log" could not be retrieved from the target machine. Error: An error occurred on the target machine while retrieving a file.  
Error code: 2  
Error message: Unable to open file 'C:\WDTFInstallText.log'.  

"Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi_install.log" tells:

MSI (s) (00:14) [10:08:19:792]: 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) (00:14) [10:08:19:793]: 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   
02/15/2022 10:08:19.823 [15616]: Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393  

I tried to executed msiexec manually, but the same error occurred.
I watched the "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\WDTF" folder while the installation,
"RunTime\WDTFInstall.DLL" was properly created and the creation log appeared before the above error log.

I struggled for several hours, but the issue has not been resolved.
Please help.

----------

I installed the following features on the target machine:

Both the target and the host machine are Windows 10 21H1 and both Windows Update say "You're up to date."

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,544 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SHAURYA NEEL 1 Reputation point
    2022-03-23T07:28:13.933+00:00

    I posted my query in the below link and got a feedback to install the 2016 server OS in the target machine and use the VS 2015.

    https://learn.microsoft.com/en-us/answers/questions/568303/provisioning-a-host-computer-for-driver-developmen.html?childToView=782397#comment-782397