question

tampopo-7207 avatar image
0 Votes"
tampopo-7207 asked javierdemuniategui-6358 commented

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

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:
- Windows 11 Software Develop Kit (SDK)
- Windows 11 Windows Driver Kit (WDK)
and operated in accordance with the following link:
Provision a computer for driver deployment and testing (WDK 10)

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

windows-hardwarewindows-hardware-wdk
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

I am also facing the same issue, did you find the answer to this, if yes then could you please update here with your answer.

Regards
SN

0 Votes 0 ·

I also Have the exact same problem and I checked the logs and the error is exactly the same.
any solutions?

0 Votes 0 ·

I also Have the exact same problem and I checked the logs and the error is exactly the same.
any solutions?

0 Votes 0 ·

Hello @DanielH-4707

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://docs.microsoft.com/en-us/answers/questions/568303/provisioning-a-host-computer-for-driver-developmen.html?childToView=782397#comment-782397

0 Votes 0 ·

So if i'm developing for Windows 21H2 that means since there is no WDK for this version (latest is 2004), this feature will never work? Seems awesome since it is almost 2 years since the last wdk upgrade then.... and this feature missing with retrocompativility in the latest versions...

0 Votes 0 ·

1 Answer

SHAURYANEEL-7310 avatar image
0 Votes"
SHAURYANEEL-7310 answered tampopo-7207 commented

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://docs.microsoft.com/en-us/answers/questions/568303/provisioning-a-host-computer-for-driver-developmen.html?childToView=782397#comment-782397

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your information.

The RFP requires the target OS to be Windows 10 and 11,
but it may be a good idea to develop to some extent in that environment and then test in the production environment.

0 Votes 0 ·