Installing a driver

I was installing my driver using the following script command.

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\Mydrv.inf

Now, the product is about to ship and they ned to integrate the same with
Install shield 10.5

My driver is:-

  1. a FS upper filter

  2. Starts at boot time.

  3. Needs a reboot after installation

  4. Attaches to all FSs supported by 2K/XP

  5. Needs to install properly on 2k, XP, 2K3

These are my questions:

  1. IF I manually copy the drivers settings from
    HKLM\System\CurrentControlSet\Services and dump the driver into
    %SYSTEMROOT%\System32\Drivers would it be enough?

  2. What is the advantage of using the abovr mentioned command over manual
    installation?

  3. Using the above command, on XP I am prompted for a reboot, which is
    necessary, however in 2K it doesn’t appear. why so? And how do I enable it?

  • amitr0

> 1. IF I manually copy the drivers settings from

HKLM\System\CurrentControlSet\Services and dump the driver into
%SYSTEMROOT%\System32\Drivers would it be enough?

For pre-FltMgr FS filter - yes.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

Hi,
Well the advantage is the optimization of the installation,.
Regards,
Samuel Raya

Since you already have an INF for your driver (and I assume an uninstall
section too), just create a Custom Action to essentially invoke the same
command-line you have used in the past. Have another Custom Action to
invoke your uninstall. The driver and .inf should be installed with the
appliation before invoking the CA. You should be able to (optionally)
delete the files after they have been copied to the appropriate system
directories.

Checkout installsite.org or the Installshield community forum for more
details on how to do this.

/ted

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of amitr0
Sent: Monday, July 31, 2006 4:53 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Installing a driver

I was installing my driver using the following script command.

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\Mydrv.inf

Now, the product is about to ship and they ned to integrate the same
with Install shield 10.5

My driver is:-

  1. a FS upper filter

  2. Starts at boot time.

  3. Needs a reboot after installation

  4. Attaches to all FSs supported by 2K/XP

  5. Needs to install properly on 2k, XP, 2K3

These are my questions:

  1. IF I manually copy the drivers settings from
    HKLM\System\CurrentControlSet\Services and dump the driver into
    %SYSTEMROOT%\System32\Drivers would it be enough?

  2. What is the advantage of using the abovr mentioned command over
    manual installation?

  3. Using the above command, on XP I am prompted for a reboot, which is
    necessary, however in 2K it doesn’t appear. why so? And how do I enable
    it?


The information contained in this email message and its attachments
is intended only for the private and confidential use of the
recipient(s) named above, unless the sender expressly agrees
otherwise.
Transmission of email over the Internet is not a secure
communications medium. If you are requesting or have requested the
transmittal of personal data, as defined in applicable privacy laws
by means of email or in an attachment to email, you must select a
more secure alternate means of transmittal that supports your
obligations to protect such personal data.
If the reader of this message is not the intended recipient and/or
you have received this email in error, you must take no action
based on the information in this email and you are hereby notified
that any dissemination, misuse or copying or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by email and
delete the original message.

what are the entries

HKLM\SYSTEM\CurrentControlSet\Enum\LEGACY_ used for. And who
creates them?

On 8/6/06, Hess, Ted wrote:
>
> Since you already have an INF for your driver (and I assume an uninstall
> section too), just create a Custom Action to essentially invoke the same
> command-line you have used in the past. Have another Custom Action to invoke
> your uninstall. The driver and .inf should be installed with the appliation
> before invoking the CA. You should be able to (optionally) delete the files
> after they have been copied to the appropriate system directories.
>
> Checkout installsite.org or the Installshield community forum for more
> details on how to do this.
>
> /ted
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *amitr0
> Sent: Monday, July 31, 2006 4:53 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] Installing a driver
>
> I was installing my driver using the following script command.
>
>
> rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 …\Mydrv.inf
>
>
>
> Now, the product is about to ship and they ned to integrate the same with
> Install shield 10.5
>
> My driver is:-
>
> 1. a FS upper filter
>
> 2. Starts at boot time.
>
> 3. Needs a reboot after installation
>
> 4. Attaches to all FSs supported by 2K/XP
>
> 5. Needs to install properly on 2k, XP, 2K3
>
>
>
>
>
> These are my questions:
>
> 1. IF I manually copy the drivers settings from
> HKLM\System\CurrentControlSet\Services and dump the driver into
> %SYSTEMROOT%\System32\Drivers would it be enough?
>
> 2. What is the advantage of using the abovr mentioned command over manual
> installation?
>
> 3. Using the above command, on XP I am prompted for a reboot, which is
> necessary, however in 2K it doesn’t appear. why so? And how do I enable it?
>
>
>
>
>
>
> –
>
> - amitr0
> — Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17 You are currently subscribed
> to ntfsd as: xxxxx@ironmountain.com To unsubscribe send a blank email
> to xxxxx@lists.osr.com
> —
>
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> ------------------------------
>
>
> *
> The information contained in this email message and its attachments
> is intended only for the private and confidential use of the
> recipient(s) named above, unless the sender expressly agrees
> otherwise.
> Transmission of email over the Internet is not a secure
> communications medium. If you are requesting or have requested the
> transmittal of personal data, as defined in applicable privacy laws
> by means of email or in an attachment to email, you must select a
> more secure alternate means of transmittal that supports your
> obligations to protect such personal data.
> If the reader of this message is not the intended recipient and/or
> you have received this email in error, you must take no action
> based on the information in this email and you are hereby notified
> that any dissemination, misuse or copying or disclosure of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify us immediately by email and
> delete the original message.
> *
>
> —
>
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- amitr0