USBDK/UsbDkInstHelper
Sameeh Jubran 5dda7555c5 Installer: Abort installation if the driver fails to start
Currently, in some cases, attempting to start the driver can fail
and cause Usb devices to become non functional. An example of such
case is attemteting to install an unsigned version of UsbDk on Windows
where the driver signature enforcement is enabled. The reason why this
happens is not making sure the driver can start on the system prior to
attaching it to all of the devices.

This patch solves this issue by checking that the driver can start on the
system prior to step 2 in the list below.

UsbDk's installation process:
1) Create and register UsbDk's service
2) Add UsbDk to the registry
3) Reset all Usb host conrollers on the system
4) PNP manager attaches and starts the driver for each Usb device's stack

Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
2017-05-29 16:45:38 +03:00
..
LICENSE Install: Introduce helper application for MSI installer 2014-11-13 17:34:45 +02:00
Resource.rc Install: Introduce helper application for MSI installer 2014-11-13 17:34:45 +02:00
stdafx.cpp Install: Introduce helper application for MSI installer 2014-11-13 17:34:45 +02:00
stdafx.h UsbDk: Trivial: Ditch dummy TODOs 2015-12-24 10:35:35 +02:00
targetver.h Install: Introduce helper application for MSI installer 2014-11-13 17:34:45 +02:00
UsbDkInstHelper.cpp Installer: Abort installation if the driver fails to start 2017-05-29 16:45:38 +03:00
UsbDkInstHelper.vcxproj Build: Introduce debug configurations without test signing 2017-04-06 13:24:06 +03:00
UsbDkInstHelper.vcxproj.filters Install: Introduce helper application for MSI installer 2014-11-13 17:34:45 +02:00