IcemanND Posted October 5, 2006 Posted October 5, 2006 Dissatisfied with both freeware and commercial driver backup applications I wrote my own for personal and work use.The biggest difference is that instead of relying on what is stored within Windows in regards to driver files it locates the install INF and then gathers the files from the files listed in it.This has only been tested in 32 bit Windows XP. It may work in other version of Windows but I have no way to test. If you do and it works post here and I will update this post accordingly.Requirements:v2.1.xmscomctl.ocx (sorry not licesnsed for distribution, believe it gets installed with Office so you may already have it)v.79Must be run with administrative permissions.NET 1.1Recommend 1024x768 resolutionHow to use:If you want the Microsoft drivers uncheck 'Non-Microsoft drivers only'Click 'Scan System'Highlight listed drivers you wish to backupEnter path to backup drivers toClick 'Backup Now'Each driver will be backed up to its own folder inside of the folder you select named by what is shown on the screen.Update Log: v2.1.83 - complete rewrite, don't remember what other changes were made.does not elevate permissions in Vista and 7, need to run as administratorv.79b - 10/12 - 98- fixed resoltion issues- added additional loggingv.78b - 10/6 - 34- fixed inf filname missing when no cat file found- change 'browse' to start ad desktop- modified data storev.77b - 10/5 - 30- Changed fonts to be static sizes.- added select all button- added additional error checking for folder creationdriverbackup79.exeDriverBackup2183.exe
clavicle Posted October 5, 2006 Posted October 5, 2006 Good piece. I hope it will work well with creative audio drivers. They are rather tricky to backup and restore.
ricktendo Posted October 5, 2006 Posted October 5, 2006 OMG this is awesome... Been looking for something like this for ages to make my own BTS DriverPack's.Thank you IcemanND for sharing this with us.
IcemanND Posted October 5, 2006 Author Posted October 5, 2006 @clavicle - let me know I no longer have a machine with a Creative card so I can't test it.
MadBoy Posted October 5, 2006 Posted October 5, 2006 @IceMan: nice idea. I tried your program but eh it didnt work. When i have choosen few devices, set right path and stated your program i got error saying To make polish story short it says Script Error from internet Explorer.And btw can you give me more info how you are backing up drivers? With steps prefered. I wanted to include this feature in my program Hardware instaler that is on this forum with Sticky. Thanks,
P51D Mustang Posted October 5, 2006 Posted October 5, 2006 Thanks for sharing, mon!Trying it out as we speak...One typo noted in "Driver is unsigned, not catalog file available." Also had to drop my font size setting back to the default from "Use Extra Large Fonts" so the controls on the top and bottom of the screen would show.
IcemanND Posted October 5, 2006 Author Posted October 5, 2006 (edited) @madboy - what is the name of the driver it was attempting to back up? And did it contain any special characters, that would not be allowed in a file or directory name? And What directory are you backing up to? I thought I had removed all of the special characters and replaced them with underscores but where it says it is failing is on creating the folder to back up to.@ P51D - Thanks type will be fixed in the next version. I'll see if I can fix the font size issue.How it does it:First it uses WMI to query Win32_PnPEntity to collect information on installed hardware.Then using this it creates a directory named after the hardware description. If the folder already exists it deletes it and its contents first the recreates it.Then searches for the INF file based on the information returned by the WMI call.THen I parse the INF file to find what files are installed when using the INF and search for each first in the default install location and then on the entire boot drive for the file if not found in the appropriate windows subfolder.then copy that file to the previously created folderWhen the CAT file is found it is renamed to match what is listed in the INF, and I rename the INF to the same name also rather than have OEMXX.inf in all of the folders.then repeat for the next selected driver. Edited October 5, 2006 by IcemanND
IcemanND Posted October 5, 2006 Author Posted October 5, 2006 (edited) I updated the coded to fix the font problem and added some additional error checking for folder creation.Oh, and a select all button. Edited October 5, 2006 by IcemanND
clavicle Posted October 6, 2006 Posted October 6, 2006 @IcemanNDThe program has copied all the creative drivers, but the OS doesn't install drivers from backed up folder, both in unattended mode using, winnt.sif and manually after installation.Secondly, the names inf files of couple of drivers are truncated. Like that of of creative and my TV Tuner card. What I get in backed up directory is only inf.
IcemanND Posted October 6, 2006 Author Posted October 6, 2006 Are the files in the picture all of the files found? No CAT file?
spazmire11 Posted October 6, 2006 Posted October 6, 2006 (edited) hmmm this looks cool!unfortuantly it seems to lock up whenever i run the backup......it gets to creating the folder for my all-in-wonder x800 driver and starts analizeing like oem6.inf then bombs out, like soit does take awhile however to do this.when i selected only my nforce networking controller i got thisthis is a good idea tho i think, just needs a little tweakingEdit-almost forgot, take a look at the browse button dialog.... for some reason i can select to expand file like folders from it, i think it'd be nice if it started from the desktop too. Edited October 6, 2006 by spazmire11
clavicle Posted October 6, 2006 Posted October 6, 2006 Yes there are no cat files. The error was shown while compiling the drivers' backup.All the files backed-up shown in the attachment.
IcemanND Posted October 6, 2006 Author Posted October 6, 2006 Bound to find some bugs when you give it to the public to use on evedry piece of hardware out there. I only have access to a couple dozen different machine models.@ clavicle - I think I found the problem you discovered. As soon as I find Spazmires I'll post an update, probably tomorrow morning.@ spazmire - Two things can you email me the system_scan.csv file from your temp folder. and also I need the complete display name in the device manager for your network card. And I'll see if I can track down what happened there.
urie Posted October 6, 2006 Posted October 6, 2006 @clavicle have you tried renaming your driver folders removing the spaces.
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