Device Driver Installation

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

Device Driver Installation

Postby Joe » Tue Sep 13, 2005 4:39 pm

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: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Sep 13, 2005 5:11 pm

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

Postby Dana Epp » Mon Nov 21, 2005 5:28 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 137 guests