Using Devcon for installing a protocol driver

All

My stack contains a root enumerated virtual driver.
For that I am able to use DevCon to do the install.

But for my protocol driver I am not able to use it. When I do “devcon hwdis *”.
It shows below for my protocol driver

ROOT\LEGACY_MYPROT\0000
Name: My Protocol Driver
No hardware/compatible ID’s available for this device.

My INF looks like below
[version]
Class = NetTrans

[Manufacturer]
%Mycompany%=Mycompany

[Mycompany]
;%MyPROT_Desc%=Install, root\MyPROT
;%MyPROT_Desc%=Install, NetTrans\MyPROT
;%MyPROT_Desc%=Install, ROOT\LEGACY_MYPROT
;%MyPROT_Desc%=Install, MS_NDISPROT

I tried all these ids’s. It does not install through DevCon
Can anyone tell me which (psuedo) ID I should use or what ID I should use so that I can install my protocol driver from cmd-line without going to network-connections etc.
For the same INF, going to net-connections and installing protocol, works.

You can’t use DevCon to install a NDIS driver. Use the INetCfg API as illustrated in the BindView DDK application.

There is some additional information at NDIS.com. See the URL:

http://ndis.com/papers/ndisinstall/programinstall.htm

Good luck,

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-303706-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Friday, October 19, 2007 9:48 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Using Devcon for installing a protocol driver

All

My stack contains a root enumerated virtual driver.
For that I am able to use DevCon to do the install.

But for my protocol driver I am not able to use it. When I do “devcon
hwdis *”.
It shows below for my protocol driver

ROOT\LEGACY_MYPROT\0000
Name: My Protocol Driver
No hardware/compatible ID’s available for this device.

My INF looks like below
[version]
Class = NetTrans

[Manufacturer]
%Mycompany%=Mycompany

[Mycompany]
;%MyPROT_Desc%=Install, root\MyPROT
;%MyPROT_Desc%=Install, NetTrans\MyPROT
;%MyPROT_Desc%=Install, ROOT\LEGACY_MYPROT
;%MyPROT_Desc%=Install, MS_NDISPROT

I tried all these ids’s. It does not install through DevCon
Can anyone tell me which (psuedo) ID I should use or what ID I should
use so that I can install my protocol driver from cmd-line without
going to network-connections etc.
For the same INF, going to net-connections and installing protocol,
works.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thomas

Thanks. I downloaded from ndis.com and changed for my protocol.