How to install a new device(USB device) without showing a file location dialog?

Hi,
We’ve tried to install a new USB device via a .inf. But our custom doesn’t like the dialog which is shown by the system to ask the users where the driver is. I tried to modify the .inf to show the system that I’ve copied the driver to a folder on the hard disk. But the system still asks me to specify the CDROM or the floppy disk which contains the driver.
How to install a new device by copying its driver to the hard disk?
Thanks!
-Ray Yang (Zhigang Yang)
System Development Dept.
Shanghai JUJO Electronics Co., Ltd.
Address: Room516~518, Tianlin Building, 300 Tianlin Road, Shanghai
Tel: 86-21-64851305 64852292 64854486
Fax: 86-21-64851306
Zip: 200233
E-mail: rayyang@je-solution.com
Website: http://www.je-solution.com

Hi,
I’ve successfully installed the driver without showing a dialog by SetupCopyOEMInfFile in Win2000. But it fails in win98.
How to implement it in win98?
-Ray Yang (Zhigang Yang)
System Development Dept.
Shanghai JUJO Electronics Co., Ltd.
Address: Room516~518, Tianlin Building, 300 Tianlin Road, Shanghai
Tel: 86-21-64851305 64852292 64854486
Fax: 86-21-64851306
Zip: 200233
E-mail: rayyang@je-solution.com
Website: http://www.je-solution.com
----- Original Message -----
From: Eliyas Yakub
To: NT Developers Interest List
Sent: Wednesday, September 27, 2000 4:15 AM
Subject: [ntdev] RE: How to install a new device(USB device) without showi ng a file location dialog?

If you copy using SetupCopyOEMInfFile, it wouldn’t prompt again.

Check out “Chapter 6 Writing a Custom Device Installation ApplicationChapter 6 Writing a Custom Device Installation Application” for further info.

-Eliyas

-----Original Message-----
From: Ray Yang [mailto:xxxxx@yahoo.com]
Sent: Tuesday, September 26, 2000 1:42 AM
To: NT Developers Interest List
Subject: [ntdev] How to install a new device(USB device) without showing a file location dialog?

Hi,
We’ve tried to install a new USB device via a .inf. But our custom doesn’t like the dialog which is shown by the system to ask the users where the driver is. I tried to modify the .inf to show the system that I’ve copied the driver to a folder on the hard disk. But the system still asks me to specify the CDROM or the floppy disk which contains the driver.
How to install a new device by copying its driver to the hard disk?
Thanks!
-Ray Yang (Zhigang Yang)
System Development Dept.
Shanghai JUJO Electronics Co., Ltd.
Address: Room516~518, Tianlin Building, 300 Tianlin Road, Shanghai
Tel: 86-21-64851305 64852292 64854486
Fax: 86-21-64851306
Zip: 200233
E-mail: rayyang@je-solution.com
Website: http://www.je-solution.com