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.
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."