Jump to content

How use devcon.exe to install driver with detachedprogram?


Recommended Posts

Hi:

I'm working on a boot from floppy with normal Windows XP CD (not custom CD) unattended install. I'm trying to install motherboard NIC drivers as early as possible in the uninstall sequence -- at [GUIUnattended] using detachedprogram. But it appears that while setup picks up the .cmd file, it doesn't appear to execute the commands within it: specifically the devcon.exe installation of the drivers, and the echo to diskette that I'm using to confirm entry and exit from the .cmd file. I don't get any detached.log file at all, whereas I am able to get .log files at later stages of the setup.

The general problem is installing NIC drivers for which Windows XP has no default. The file contents are shown below. Thank you for your help.

-- Roy Zider

winnt.sif:

----------

[GuiUnattended]

detachedprogram = "%systemroot%\system32\cmd.exe"

arguments = "/c a:\detached.cmd"

detached.cmd:

-----------------

echo entering %0 >a:\detached.log

start /wait A:\devcon1 update A:\DRIVERS\NIC\nvenetxp.inf "PCI\VEN_10DE&DEV_0066"

start /wait net use \\MPX\HPLaserJ /user:Administrator <password>

net view >>a:\detached.log

net view \\mpx >>a:\detached.log

echo exiting %0 >>a:\detached.log

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...