Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new hardware deployment 1

Status
Not open for further replies.

docmeyer

Technical User
Oct 16, 2001
117
US
We are trying to intsall the device drivers for a card reader (.inf, .sys, .cat), the goal being push the package with AD (assigned to computer), the wrapped up drivers go to the right place, plug in reader (USB), logon and go. If some interaction is necessary it would be okay.

We have tried placing the drivers is System 32, the drivers folder and creating a WINNT\ExtDrv folder, but we still have to go through add hardware wizard after pc detects the device.

If anybody could add some advice to this endeavor it would be greatly appreciated.

docmeyer

The DI from PI
Virginia Beach, VA U.S.A.
 
This is from
Wise Package Studio for Newbies
By Denis St-Pierre
wpshelpATdst.net.au

How to package a driver installation
Method 1: (Good luck!)
MS is working on this in MSI 3.0 and you can see this at:
6fvr.asp
I read some of it and to use it you need to have signed drivers (.CAT files). They do explain how
to sign the files but for me it should be a hell-of-alot easier to do. Hence, be warned that this is still
in beta. MSI as it stands today does not handle drivers.

Method 2: (Tried and trued)
You can still do it if you have access to INF files for the drivers.
(Taken from Wise newsgroups)
From: <John_McFadyen_370091>
Subject: Re: AutoInstallation of drivers
Date: April 20, 2004 6:31 PM
INF Files can be used to install and remove applications, general files, etc.
To script an INF file to install or remove, you call the RunDLL32 application
from a script using the following syntax:
Windows 9x
Installation:
rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132 %1
Where %1 is the path and file name of the INF file to install
Uninstall:
RunDll setupx.dll,InstallHinfSection DefaultUninstall 4 %1
Where %1 is the path and file name of the INF file to uninstall
Windows NT/2000/XP
Installation:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1
Where %1 is the path and file name of the INF file to install
Uninstall:
rundll32.exe setupapi,InstallHinfSection DefaultUninstall 132 %1


regards
mmv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top