Hello everyone,
I'm trying to write program to backup drivers from working or non-working system. I've been reading a bit and looking in inf files and it seems I've some unanswered questions. My aproach to backup is looking at
Windows\Inf folder. I list all inf files and read all of them. Lets take for example this:
[SourceDisksNames]
3426=windows cd
[SourceDisksFiles]
WSDScDrv.dll=3426
[DestinationDirs]
DefaultDestDir = 11
WSDScanDriver.CopyFiles = 11
Now i know i have to backup WSDScDrv.dll file which should be located Windows\System32 folder (as 11 means it's System32 folder). However the file is not there, it can be found at C:\Windows\System32\DriverStore\FileRepository\wsdscdrv.inf_x86_neutral_93205116e7f7a608 (Windows 7)
So my question is how can i really tell where the file is at (well i can look for it if it's only way). According to http://msdn.microsoft.com/en-us/library/ms790174.aspx the 11,12 etc numbers point to specific locations but so far only 12 means it's in the right place.
Hope someone can share some light on this, this would help in writting a nice backup program for all Windows systems from WinXP to Win 7 :-)