Device Driver Installation

Got a problem you cannot solve? Try here.
Post Reply
Joe
Posts: 3
Joined: Tue Sep 13, 2005 4:35 pm

Device Driver Installation

Post by Joe »

Hi all,
i need to install a device driver with my standard app (exe + dll's)
Anyone have a suggestion ?


Thanks in advance
Joe
sinan
Site Admin
Posts: 1035
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Hint: If you need to make calls to DLLs, use the Call DLL Function command.

If you can describe requirements that are common to most driver installations, we can work with you and address them in a template driver installation (a new project type), or a new driver installation plug-in.

Contact me privately for details.
Dana Epp
Posts: 29
Joined: Wed Dec 01, 2004 2:27 pm

Post by Dana Epp »

We currently install our device drivers using the standard INF method. Through InstallAware, we simply call rundll32 using the standard parameters.

To install try:

Code: Select all

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\\yourdriver.inf
To uninstall try:

Code: Select all

rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 .\\yourdriver.inf
The only issue we have seen is that it kinda fubars the progress bar in Installaware. (The percentages don't add up if you call it near the end as it resets).
---
Regards,
Dana Epp
Post Reply