Right way to distribute driver

Hi,

We have a virtual storport miniport driver. We have release signed the
driver and tested it on Windows 7/8.1 (x86 and amd64) using devcon and it
works.

I would like to know the proper method used to deploy a driver at user
side. When I was searching, found one blog mentioning about using pnputil
for installing driver (
http://cloudsurvivalguide.com/installing-device-drivers-with-admin-studio/).

To install driver using pnputil, I have executed the following command

PnPutil.exe -i -a "%programfiles(x86)%\Service_Key\Driver\mydriver.inf

and it gave the output “successfully installed the driver on a device on
the system”. But it has not created the device node, when I checked further
the driver is installed under “non plug and play devices” in the device
tree.

When installed using devcon I have used the following command

devcon install mydriver.inf root\myDevice

and it has created a new device (myDevice) under “SCSI Adapter” in device
tree

Could I be doing anything wrong? Is there a better way to install storport
miniport driver?

Thanks a lot,
Lloyd

dpinst embedded inside an installer of your choice works for me. It does
the right thing.

https://msdn.microsoft.com/en-us/library/windows/hardware/ff544842(v=vs.85).aspx

Note that it is fine with running silent in command line mode.

Mark Roddy

On Wed, Feb 25, 2015 at 1:34 AM, Lloyd wrote:

> Hi,
>
> We have a virtual storport miniport driver. We have release signed the
> driver and tested it on Windows 7/8.1 (x86 and amd64) using devcon and it
> works.
>
> I would like to know the proper method used to deploy a driver at user
> side. When I was searching, found one blog mentioning about using pnputil
> for installing driver (
> http://cloudsurvivalguide.com/installing-device-drivers-with-admin-studio/
> ).
>
> To install driver using pnputil, I have executed the following command
>
> PnPutil.exe -i -a "%programfiles(x86)%\Service_Key\Driver\mydriver.inf
>
> and it gave the output “successfully installed the driver on a device on
> the system”. But it has not created the device node, when I checked further
> the driver is installed under “non plug and play devices” in the device
> tree.
>
> When installed using devcon I have used the following command
>
> devcon install mydriver.inf root\myDevice
>
> and it has created a new device (myDevice) under “SCSI Adapter” in device
> tree
>
> Could I be doing anything wrong? Is there a better way to install storport
> miniport driver?
>
> Thanks a lot,
> Lloyd
>
> — NTDEV is sponsored by OSR Visit the list at:
> http://www.osronline.com/showlists.cfm?list=ntdev OSR is HIRING!! See
> http://www.osr.com/careers 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

Thank you Mark it worked.

for the sake of completeness -

I also created a devnode using setup api calls.

Thanks a lot,
Lloyd

On Thu, Feb 26, 2015 at 2:14 AM, Mark Roddy wrote:

> dpinst embedded inside an installer of your choice works for me. It does
> the right thing.
>
>
> https://msdn.microsoft.com/en-us/library/windows/hardware/ff544842(v=vs.85).aspx
>
> Note that it is fine with running silent in command line mode.
>
> Mark Roddy
>
> On Wed, Feb 25, 2015 at 1:34 AM, Lloyd wrote:
>
>> Hi,
>>
>> We have a virtual storport miniport driver. We have release signed the
>> driver and tested it on Windows 7/8.1 (x86 and amd64) using devcon and it
>> works.
>>
>> I would like to know the proper method used to deploy a driver at user
>> side. When I was searching, found one blog mentioning about using pnputil
>> for installing driver (
>> http://cloudsurvivalguide.com/installing-device-drivers-with-admin-studio/
>> ).
>>
>> To install driver using pnputil, I have executed the following command
>>
>> PnPutil.exe -i -a "%programfiles(x86)%\Service_Key\Driver\mydriver.inf
>>
>> and it gave the output “successfully installed the driver on a device on
>> the system”. But it has not created the device node, when I checked further
>> the driver is installed under “non plug and play devices” in the device
>> tree.
>>
>> When installed using devcon I have used the following command
>>
>> devcon install mydriver.inf root\myDevice
>>
>> and it has created a new device (myDevice) under “SCSI Adapter” in device
>> tree
>>
>> Could I be doing anything wrong? Is there a better way to install
>> storport miniport driver?
>>
>> Thanks a lot,
>> Lloyd
>>
>> — NTDEV is sponsored by OSR Visit the list at:
>> http://www.osronline.com/showlists.cfm?list=ntdev OSR is HIRING!! See
>> http://www.osr.com/careers 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
>
>
> — NTDEV is sponsored by OSR Visit the list at:
> http://www.osronline.com/showlists.cfm?list=ntdev OSR is HIRING!! See
> http://www.osr.com/careers 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