# Tell me about drivers, installers, .inf files, etc

**URL:** <https://boards.straightdope.com/t/tell-me-about-drivers-installers-inf-files-etc/488515>\
**Category:** Factual Questions\
**Created:** [March 6, 2009, 1:08pm UTC](https://boards.straightdope.com/t/tell-me-about-drivers-installers-inf-files-etc/488515 "2009-03-06T13:08:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Princhester](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@Princhester](https://boards.straightdope.com/u/Princhester)\
**Post date:** [March 6, 2009, 1:08pm UTC](https://boards.straightdope.com/t/tell-me-about-drivers-installers-inf-files-etc/488515/1 "2009-03-06T13:08:01Z")

</div>

I’m trying to use Nlite to make a nice installer for XP with all the service packs, and the drivers I need for the hardware in my home machines (there seem to be a growing number) so that I can trash and reload when necessary.

The guide to using Nlite (see here: [nLite - Deployment Tool for the bootable Unattended Windows installation - Guide](http://www.nliteos.com/guide/part2.html)) says:

> [@](#):
>
> - Click on the ‘insert’ tab to search for drivers to install, make sure that you open .inf files only
> - If your drivers are only in the .exe format you can sometimes extract them with Winzip, Powerarchiver, Winrar …

It also says in the faq ([nLite - Deployment Tool for the bootable Unattended Windows installation - FAQ](http://www.nliteos.com/faq.html#Q14))

> [@](#):
>
> My drivers are exe files! How do I integrate them?  
> It’s only possible with extractable drivers. Extract that exe file with right click and choose Extract To… (you can use Winrar for that). After extraction find folder with INF file(s) in it and select any of them.

OK, so I can do that. But I notice that when I use Winrar to extract all the files from, for example, the installer for the driver software that goes with the video card of one of my machines, it extracts not just some .inf files but about 60 other files. They’re .dll’s, .cab’s, executables. All sorts of stuff. Several MB’s worth.

But Nlite’s instructions seem to be suggesting that if I just slipstream the .inf files into the image I am creating that will be sufficient to have the necessary drivers load. If that’s right, what’s all the other stuff? Won’t that all be needed too, to make my video card run?

I don’t really know what I’m doing. Can someone explain about hardware drivers and driver installers and what they do?

---

<div class="post-metadata">

**Author:** ![LSLGuy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lslguy/32/5813_2.png) [@LSLGuy](https://boards.straightdope.com/u/LSLGuy)\
**Post date:** [March 6, 2009, 1:50pm UTC](https://boards.straightdope.com/t/tell-me-about-drivers-installers-inf-files-etc/488515/2 "2009-03-06T13:50:51Z")

</div>

In a nutshell, the .inf file is a set of instructions for how Windows should install the device.

IF the device can use Windows’ built in drivers, then the .inf file is all you need, and it contains instructions which tell Windows which already-existing Windows files to use.

But IF the device needs its own custom drivers (or more commonly, also comes with some help-ware for installation, configuration, ongoing settings, etc., then the .inf file also serves as a table of contents for all the other stuff. It also provides instructions for how Windows should integrate that stuff too, such as add \*this \*to the control panel, \*that \*to the auto-run list, etc.

As befits something dating from Win 2.0, the syntax and sematics of .inf are arcane, obscure, and inscrutable. And not well documented (at least in public).  
Bottom line: You need to include all those extra files in a folder somewhere in your Nlite installation. Then ensure the path(s) you use to them in the installation match the path(s) in the .inf file.  
Caveat: Many “installers” are now really advertising mechanisms and if they are not run through the UI will fail. For items like that, you’ll find you can’t sucessfully automate their installation at all. Which can be a bitch if they’re something fundamental like video drivers. So don’t be surprised if you have problems with some of these.

The usual way out of this dilemma is to discover (often by days of trial and error), whether there’s a way to separate the driver install from the bloatware install. Then slipstream the driver, and manually install the bloatware afterwards as a “repair.”

Googling for your driver or device name and “administrative install” may get you some clues from others who have fought that battle.

---

<div class="post-metadata">

**Author:** ![Princhester](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@Princhester](https://boards.straightdope.com/u/Princhester)\
**Post date:** [March 6, 2009, 9:34pm UTC](https://boards.straightdope.com/t/tell-me-about-drivers-installers-inf-files-etc/488515/3 "2009-03-06T21:34:59Z")

</div>

Thanks, **LSLGuy**.

“days of trial and error”. Hmm. Creating an Nlite image may not save me much time.
