none
Error provisioning test device running Windows 10 IoT Enterprise 2016 LTSB_N x86 using VS2015/WDK 10.0.14393.0 RRS feed

  • Question

  • I get the following error in the Driver Test Computer Configuration log:

    --------------------------------------------------------------------------------
    Progress event: Current: 7, Max: 12, Message: "Installing driver test framework"
    [20:07:28:064]: Installing driver test framework
    [20:07:28:064]: [Installing driver test framework] Command Line:
    msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi" /qb- KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi_install.log"
    Task result status updated: Fail
    Task result status updated: Fail
    [20:07:44:133]: 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.
    Progress event: Current: 7, Max: 12, Message: "    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."
    Result completed
    Test process exit code: 1603
    --------------------------------------------------------------------------------
    

    Attempting to install WDTF manually also fails, with the process bar reversing when it's near completion. The first error in the WDTF Runtime install log appears in this context:

    --------------------------------------------------------------------------------
    MSI (s) (24:4C) [17:22:34:612]: Executing op: CustomActionSchedule(Action=WDTFInstall_RegisterWDTFAction,ActionType=1041,Source=C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL,Target=WDTFRegister,)
    MSI (s) (24:00) [17:22:34:612]: Invoking remote custom action. DLL: C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\WDTFInstall.DLL, Entrypoint: WDTFRegister
    WDTFInstall: Regsiter WDTF
    WDTFInstall: Delete registry state.
    
    WDTFInstall:    Deleted HKCR\WDTF.
    WDTFInstall:    Deleted HKCR\WDTFActions.
    WDTFInstall: Register COM DLLs.
    
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\Deprecated\DeviceManagement.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\DeviceSupport\WDTFDeviceSupportAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\DrvPkgLibExt.dll".
    WDTFInstall:       Not a COM DLL
    
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\EDT\WDTFEDTAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\IoSpy\WDTFIoAttackAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\IoSpy\WDTFIoSpyAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\SimpleIO_D3DTest.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFAnySimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFAudioSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFBluetoothSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFCDROMSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFMobileBroadbandSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFMUTT2STRESSSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFMUTT2TCDSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFNetworkSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFVolumeSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFWebcamSimpleIoAction.dll".
    MSI (s) (24:AC) [17:22:35:003]: Product: Windows Driver Testing Framework (WDTF) Runtime Libraries -- WDTFInstall:       ERROR: Failed to load DLL
    
    WDTFInstall:       ERROR: Failed to load DLL
    MSI (s) (24:AC) [17:22:35:003]: Product: Windows Driver Testing Framework (WDTF) Runtime Libraries -- WDTFInstall:       ERROR: 183
    
    WDTFInstall:       ERROR: 183
    MSI (s) (24:AC) [17:22:35:003]: Product: Windows Driver Testing Framework (WDTF) Runtime Libraries -- WDTFInstall:       ERROR:
    
    
    WDTFInstall:       ERROR:
    
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFWirelessSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimpleIO\WDTFWPDSimpleIoAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\SimulatedBattery\WDTFSimulatedBatterySystemAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\System\WDTFSystemAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFConcurrentIOAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFCpuUtilizationSystemAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFDriverPackageAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFDriverSetupDeviceAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFDriverSetupSystemAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFDriverVerifierSystemAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFFuzzTestAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFInterfaces\WDTFInterfaces.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFPNPAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\Actions\WDTFSUPAction.dll".
    WDTFInstall:    Process "C:\Program Files\Windows Kits\10\Testing\Runtimes\WDTF\RunTime\\WDTF.DLL".
    MSI (s) (24:AC) [17:22:35:378]: Product: Windows Driver Testing Framework (WDTF) Runtime Libraries -- WDTFInstall: ERROR Registering COM DLLs: 18
    
    WDTFInstall: ERROR Registering COM DLLs: 18
    CustomAction WDTFInstall_RegisterWDTFAction returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    --------------------------------------------------------------------------------
    

    Here is the complete setup procedure to reproduce this error:

    1. Get fresh Windows 10 Enterprise 1511 development PC from IT.
    2. Install Visual Studio 2015 and WDK 10.0.14393.0 on the airgapped development PC from install files downloaded on a PC with internet connection by using the /layout installer switch.
    3. Install Windows ADK 10.1.10586.0.
    4. In Windows ICD, used install.wim from the image en-gb_windows_10_enterprise_2016_ltsb_n_x86_dvd_9058321.iso to create a new windows image customization.
    5. Leave default settings for this image.
    6. Create a production media with audit mode without a script on a bootable USB stick, with Compact OS enabled.
    7. Install Windows on the target platform using the generated USB stick.
    8. Once complete, choose OOBE and reboot.
    9. Select United States as location, EN (US) as language, US keyboard and local timezone.
    10. Make a user account, select customize.
    11. Turn off all the offered convenience features.
    12. Connected the target PC to the development PC via an otherwise unconnected switch (offline network).
    13. Configure both interfaces with static IP-addresses on the same subnet. (10.0.0.XX)
    14. Turn off firewall on both PCs (no physical connection to any other network, so it's perfectly safe)
    15. Confirm that they can ping each other.
    16. Install "WDK Test Target Setup x86-x86_en-us.msi" (Windows Installer XML (3.7.4128.0)) on the target PC.
    17. Follow the "Write a universal Hello World driver (KMDF)" topic on msdn.

    The provisioning of the target device fails when installing Windows Driver Testing Framework (WDTF) Runtime Libraries, as detailed above.

    I would include a pastebin link to the full install log, but apparently I'm not allowed to include links in this post since my account hasn't been "verified" yet. You'll have to do with this verbal link: it's hosted at the nopaste.me site, the path part of the url is /view/54e04058, and it's served by https.

    Running the failing command (below line) manually fails with the same error.
        msiexec.exe /i "%SystemDrive%\DriverTest\Setup\Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi" /qb- KITTARGET=1 /l*v "%SystemDrive%\DriverTest\Logs\Windows Driver Testing Framework (WDTF) Runtime Libraries-x86_en-us.msi_install.log"

    I have not been able to find anyone reporting the same problem by searching the internet, and would be grateful for any help in resolving this issue.


    • Edited by stx_lvt Thursday, October 20, 2016 1:06 PM try again to fix formatting
    Thursday, October 20, 2016 1:03 PM

All replies

  • Is LTSB_N the "N" edition, i.e. without Media Player? The Windows HLK Prerequisites page says: "If you are testing against a Windows “N” edition, you must also manually install Media Feature Pack." I don't know if WDTF is part of HLK or what, but it's conceivable that this could be the problem.
    • Marked as answer by stx_lvt Monday, October 24, 2016 1:00 PM
    • Unmarked as answer by stx_lvt Monday, October 24, 2016 1:00 PM
    Friday, October 21, 2016 6:41 PM
  • Hi ranta, and thanks for answering.

    Yes, it's the "N" edition. I've now tried to install the Media Feature Pack on the troubled device, and then re-tried the WDTF install, but there was no change in behavior.

    In case the test device has somehow gotten stuck in a bad state I'm going to try to reinstall Windows and then do the Media Feature Pack install before I try to set it up as a target, but this seems like a long shot at the moment.

    Have you got any other theories? :-)

    Monday, October 24, 2016 6:44 AM
  • I've just finised doing a clean windows install, then installing Media Feature Pack and finally running Test Target Setup and target provisioning in VS2015, but I get exactly the same error message as before.

    Monday, October 24, 2016 9:32 AM