Jump to content

New Tool to Parse $1\Drivers


Recommended Posts

Okay, I completely rewrote the entire script to make it more flexible.

What does it do?

It parses a folder tree looking for INF driver files and creates the OemPnPDriversPath line from the findings.

How does it work?

When you run the application, you will be asked to browse to the folder containing your drivers (i.e. $OEM$\$1\Drivers). You will then be asked to select a folder to save the log and results files. It will then parse the tree you selected looking for INF files. If it finds one, it will add that folder to the OemPnP... line. If it finds another INF in the same folder, it bypasses adding it an additional time. When it's done it'll prompt you to open the location where you choose to write the log and result file. Just copy the line from the result file into you WinNT.sif and you're ready to go.

I hope it's helpful. I got tired of having to manually put the OemPnP.. line together.

I'm also working on one that will pull together the patches and dynamically create the SVCPACK.inf file, etc. What it will do it copy the patches to the SVCPACK folder and rename them to the KB######.exe name and add it with the switches to the SVCPACK.inf file. But that's a different story. :whistle:

-Mike

OemPnPDriversPath_Builder.exe

Link to comment
Share on other sites


Sounds good, but someitmes, we have hundreds of drivers in one directory... what would be really nice is a script that would eliminate doubles, keep latest versions, and do it in spite of the cases where several drivers and .inf are in one folder. It's not that easy, indeed !

Link to comment
Share on other sites

Why did you wrap the VBS in an EXE?

To get it through the firewall here. It's goofy. I can upload an EXE but if I try to upload a script the office's "network police" block me.

That's because those have been well known for having viruses. I'm not nearly majorly surprised that it's blocking .vbs files.

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