mmarable Posted January 17, 2006 Share Posted January 17, 2006 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. -MikeOemPnPDriversPath_Builder.exe Link to comment Share on other sites More sharing options...
druiddk Posted January 17, 2006 Share Posted January 17, 2006 This sounds cool!However i get a Windows Script Host error.Script: C:\Temp\27397615.vbsLinie: 11Char: 1Error: The service og group did not startCode: 8007042C Link to comment Share on other sites More sharing options...
mmarable Posted January 18, 2006 Author Share Posted January 18, 2006 Hmmm.... That's the WMI connection being opened. Is your WMI service disabled or stopped? Link to comment Share on other sites More sharing options...
Bezalel Posted January 19, 2006 Share Posted January 19, 2006 Why did you wrap the VBS in an EXE? Link to comment Share on other sites More sharing options...
natan770 Posted January 19, 2006 Share Posted January 19, 2006 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 More sharing options...
mmarable Posted January 19, 2006 Author Share Posted January 19, 2006 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. Link to comment Share on other sites More sharing options...
RJARRRPCGP Posted January 20, 2006 Share Posted January 20, 2006 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 More sharing options...
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