locked
Pre-install USBaudio device in LTSB build as non-present device prior turn on UWF RRS feed

  • Question

  • Hello,

    Is there a smart way of pre-install some USBaudio devices without the device present before turning on UWF? Is this something even possible ?

    Tuesday, May 8, 2018 1:46 PM

All replies

  • You can add all the drivers to the distribution share to include them in the installation of the OS. As the OS installs, all the drivers will be placed in the driver store C:\Windows\System32\DriverStore\FileRepository. When a device is plugged in, PnP manager will go to the driver store to find a driver.

    Sean Liming - Book Author: Starter Guide Windows 10 IoT Enterprise - www.annabooks.com / www.seanliming.com

    Wednesday, May 9, 2018 4:16 AM
  • I try to run the followings to preinstall the USBaudio and USBvideo services prior turning on UWF and deliver the appliance.

    RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection USBaudio 0 c:\windows\inf\wdma_usb.inf
    RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection USBvideo.nt 0 c:\windows\inf\usbvideo.inf

    Is this the appropriate way of doing so?

    Wednesday, May 9, 2018 3:51 PM
  • UWF is not going to block a service from running. Plug in a device and driver/ services will load, but any configurations will be lost on a reboot.

    Sean Liming - Book Author: Starter Guide Windows 10 IoT Enterprise - www.annabooks.com / www.seanliming.com

    Wednesday, May 9, 2018 7:41 PM
  • Thank you. This is also the reason why I would like to preinstall the drivers/services (persistent) without device configuration (non-persistent)
    Wednesday, May 9, 2018 11:35 PM
  • I think this is a bit of a curious way to do things. Sort of backwards perhaps.

    Ideally, the build machine has the devices plugged in so you can verify it works as intended and reseal will keep the drivers to hand.

    Alternatively, include them through the "Out-of-Box Drivers." and let the OS sort it out for you.

    You shouldn't have to do any rundll incantations at all.


    =^x^=

    Wednesday, May 16, 2018 6:17 AM
  • I did this in paste using pnputil (command line utility):

    pnputil -i -a X:\pathtoinf\inffile.inf

    Note: It seems that it is required to specify the full path to the INF file.

    HTH,
    Willi K.

    Wednesday, May 16, 2018 4:09 PM