From: McKool on
Hello there,

I have a device which is not plug-&-play, but more a virtual hardware. I can
install it using the Device-Manager --> Add legacy hardware, but I want to
install it programmatically, eg. the use of the function SetupCopyOEMInf for
plug-&-play devices.

can anybody help me with this?

Thanks in advance
KW

From: Scott Noone on
Is it a root enumerated device? If so, devcon is a good start (source and
binaries in the WDK), the "install" switch will create a new root enumerated
device and register your INF:

devcon install myinf.inf ROOT\MadeUpHardwareId

-scott

--
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

"McKool" <k.wagner(a)peak-system.com> wrote in message
news:98B3D646-548D-40F4-AB67-97C9DC49EEDE(a)microsoft.com...
> Hello there,
>
> I have a device which is not plug-&-play, but more a virtual hardware. I
> can install it using the Device-Manager --> Add legacy hardware, but I
> want to install it programmatically, eg. the use of the function
> SetupCopyOEMInf for plug-&-play devices.
>
> can anybody help me with this?
>
> Thanks in advance
> KW

From: McKool on
Hello Scott,

thanks for your replay. Yes, it is a root enumerated device.

I will check devcon src, thanks again...

Keneth.

"Scott Noone" <snoone(a)osr.com> schrieb im Newsbeitrag
news:096EA0A1-317C-43B4-8FF0-F9F250D4988F(a)microsoft.com...
> Is it a root enumerated device? If so, devcon is a good start (source and
> binaries in the WDK), the "install" switch will create a new root
> enumerated device and register your INF:
>
> devcon install myinf.inf ROOT\MadeUpHardwareId
>
> -scott
>
> --
> Scott Noone
> Consulting Associate
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
> "McKool" <k.wagner(a)peak-system.com> wrote in message
> news:98B3D646-548D-40F4-AB67-97C9DC49EEDE(a)microsoft.com...
>> Hello there,
>>
>> I have a device which is not plug-&-play, but more a virtual hardware. I
>> can install it using the Device-Manager --> Add legacy hardware, but I
>> want to install it programmatically, eg. the use of the function
>> SetupCopyOEMInf for plug-&-play devices.
>>
>> can anybody help me with this?
>>
>> Thanks in advance
>> KW
>