MSFN Forum: Install nForce4 INFs via batch? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Install nForce4 INFs via batch? Rate Topic: -----

#1 User is offline   Tomcat76 

  • MSFN Junkie
  • Group: Developers
  • Posts: 3,171
  • Joined: 08-August 05

Posted 23 December 2005 - 09:43 AM

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.inf


For 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...


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,117
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 23 December 2005 - 03:19 PM

%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>


#3 User is offline   Tomcat76 

  • MSFN Junkie
  • Group: Developers
  • Posts: 3,171
  • Joined: 08-August 05

Posted 24 December 2005 - 01:26 PM

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?

This post has been edited by Tomcat76: 24 December 2005 - 01:28 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy