This question was asked in 2002, but no satisfactory solution was offered. I would like it re-visited.
I'm trying to include USB drivers from a third party in my VB6 Package and Deployment Wizard generated setup. I would like the drivers to automatically install when the Hardware Wizard is initiated by plugging in the device.
I am using setup to put the .inf file in the ...\Inf directory. By doing this I can get the Hardware Wizard to read the .inf file but I cannot seem to figure out how to modify the [SourceDisksNames] section of the .inf file to cause the installation to proceed from the hard disk. The Hardware Wizard always asks for removable media (an installation CD). Using setup or directly placing the .sys file in ...\system32\drivers
MSDN offers the format of the .inf file Section: [SourceDisksNames] for this type of installation as:
diskid = disk-description[,[tag-or-
But I can't get it to work. Typically my efforts have been some permutation of:
1="DV19_Lam2 Prompt", DV19_Lam2.,,,0x10,DV19_Lam
I'm not sure of the syntax so I have tried most permutations of this. And I have placed the refereced CAB file in the ....\Inf directory. Also I have placed the files named in [SourceDisksFiles] section of the .inf file into the .../Inf folder. The CAB file I'm using is the one generated by the VB6 Deployment Wizard and includes all the files needed for the installation.
As I mentioned this question has already been asked in 2002, but no complete or useful answer was offered: