Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how can my setup.exe install a driver that has no hardware associated with it?

1 view
Skip to first unread message

assaf

unread,
Aug 27, 2004, 6:15:03 PM8/27/04
to
hi all

i have a driver, that has no hardware associated with it.
how can my setup.exe install it?

assaf


Eliyas Yakub [MSFT]

unread,
Aug 27, 2004, 7:44:17 PM8/27/04
to
Is you driver a WDM driver or a legacy NT4.0 style driver?

If it's a NT4.0 style driver, you can use Service control manager APIs to
install. Take a look at the Src\cancel\exe\install.c file in the Server 2003
DDK.

If it's a WDM driver, then root enumerate it using Setupdi functions. You
can copy the code from the src\setup\devcon sample. You will need an INF
file.

Devcon.exe install <name of your INF file> <device-id from the INF>

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx


assaf

unread,
Aug 28, 2004, 5:29:11 AM8/28/04
to
hi eliyas.
how are you?

My driver is a Mirror Display Driver.

i have an inf file that does the job very well.
i am currently using the System -> Hardware -> Add New Hadware Wizard.

what is a good setup.exe sample for my case?

assaf


"Eliyas Yakub [MSFT]" <eli...@online.microsoft.com> wrote in message
news:OYmyE$IjEH...@TK2MSFTNGP11.phx.gbl...

0 new messages