Hy!
Among other things I want to install drivers for usb device (2D bar-code scanner) in my installation procedure.
In drivers page I select add driver task and selected appropriate inf file (mtlgpos2nt.inf).
When I start installation procedure driver files (INF, SYS and DLL) are copied into folder C:\WINDOWS\system32\DRVSTORE\mtlgpos2nt_14D5EBDC5A0C222A4FD0EFBC156A0A5E3F9341B6
There are corresponding entries in registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DIFx\DriverStore\mtlgpos2nt_14D5EBDC5A0C222A4FD0EFBC156A0A5E3F9341B6\DependentInstaller with value {A369A311-2C2C-49DA-8887-88089442625B}
and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DIFxApp\Components\{A369A311-2C2C-49DA-8887-88089442625B}\DriverStore with value C:\WINDOWS\system32\DRVSTORE\mtlgpos2nt_14D5EBDC5A0C222A4FD0EFBC156A0A5E3F9341B6\mtlgpos2nt.inf
But when I plug in usb device (2D bar-code scanner) "found new hardware" wizard pops up asking me for the location of appropriate drivers.
Why don't windows automatically find drivers in C:\WINDOWS\system32\DRVSTORE\mtlgpos2nt_14D5EBDC5A0C222A4FD0EFBC156A0A5E3F9341B6 folder?
Drivers are not signed, is this problem?
Another thing, when I install drivers with "found new hardware" wizard driver files are copied in C:\WINDOWS\system32 folder (DLL file) and C:\WINDOWS\system32\drivers folder (SYS file) which is defined in INF file.
Why doesn't Advanced Installer installation procedure do that?
Any suggestions?
Thanks in advance.