Tomcat76 Posted December 23, 2005 Posted December 23, 2005 I've been looking high and low for a solution to install the nForce4 components I need through a batch file. This the the closest I got:%WINDIR%\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 0 nvsmbus.inf%WINDIR%\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 0 nf4sys.inf%WINDIR%\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 0 nvnetbus.inf%WINDIR%\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 0 nvenetfd.inf%WINDIR%\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 0 nvata.infFor every one of these lines, though, I get an "Installation failed!" dialog box.The final idea is to get this done through SVCPACK.INF. I'd maybe consider DOSNET.INF if required but an unattended install involving WINNT.SIF is out of the question.But first things first: get the batch file going so Windows installs everything automatically instead of popping-up the Found New Hardware dialogs...
Yzöwl Posted December 23, 2005 Posted December 23, 2005 %SYSTEMROOT%%\system32\rundll32.exe setupapi.dll,InstallHinfSection <section> <reboot-mode> <inf-name>If <inf-name> isn't a Windows .inf file, add 128 to the reboot mode value.%SYSTEMROOT%%\system32\rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 <inf-name>
Tomcat76 Posted December 24, 2005 Author Posted December 24, 2005 (edited) Thanks for the reply.I changed the 0 to 128 but I'm still getting the "Installation failed" error messages.Looking at the parameter specifications you provided, I see what's probably causing this: there is no <section> inside any of the nForce4 INFs that's called "DefaultInstall". I changed that to the name of the section that refers to the vendor IDs but that didn't help. I suppose I could try them all, one by one, but who tells me, when I find one which doesn't pop up the error message, that everything that needs to be installed will effectively be installed? Isn't there a way to figure out what Windows is doing when I install the INFs through Device Manager? Edited December 24, 2005 by Tomcat76
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now