Introduction
So you are using my DriverPacks, but want to make some additions for yourself? Because you have a VERY special driver, or just because I haven't added this particular driver YET? Well, then this small tutorial will show you how you can make your own DriverPack, you'll see, it's very easy, all the hard work is put in the DriverPacks BASE that does almost all work for you!
Note: this works only for drivers that don't need anything special, i.e. that only need: to be copied to the systemdrive and the necessary entries in the winnt.sif file.
1. Get the drivers
Obviously, you have to obtain your drivers first. First check the site of the manufacturer of your hardware, if you can't find the driver there, try to find it with Google.
2. Extract the drivers
a) Now we have to get the drivers themselves OUT of the installer/archive. Personally I prefer 7-zip to do that, but any (well, almost any) archiving program should be capable of doing this. Right-click the driver archive or setup and choose the option "Extract files...", or something similar. Choose a folder to extract them to and that's that.
b) This part might scare of some beginning users, but it's definetely worth it in the end. Instead of just using everything you extracted, we have to select the files we need, in other words: removing the garbage... So how do you do that? In 95% of the cases this works: open the ''.inf'' file of your driver, then search for the section that's marked by ''[SourceDisksFiles]'' and make sure you KEEP all the files listed here!
Note: if you don't want to void the WHQL signing, do NOT remove the included .cat files!
3. Creating the DriverPack
a) Now it's VERY easy: just create a ''D'' folder and put your drivers in any subfolder below it. Any subfolder, but I recommend you use as short names as possible for these subfolders: else the ''OemPnPDriversPath'' in your ''winnt.sif'' file might become to long (the maximum is 4096 characters, for ''winnt.exe''/''winnt32.exe'' initiated installations it's even only 1024 characters!) and corrupt your installation! After creating the desired folder structure, move your drivers into the correct subfolders (the extracted files, the ''.inf'' files, not the archives or setups, remember?). So create it like this:
+ D|--+ 3|--+ DriverPack root dir|--+ sub1|--+ subsubA|--+ subsubB|--+ sub2|--+ subsubX
A real world example:
+ D => root directory for ALL DriverPacks|--+ 3 => root directory for 3rd party DriverPacks|--+ B => *B*roadband|--+ M => *M*otorola|--+ 1 => first Motorola broadband driver|--+ 2 => second Motorola broandband driver|--+ n => n-th Motorola broandband driver|--+ W => *W*hatever|--+ RoxorBroadBandModem => you can use names too if you prefer that
RogueSpear wrote:
Can you be more specific on how exactly name the directory structure.
If I want to make a Printer pack for Canon it has to be like this :
+ D|--+ 3|--+ P|--+ C|--+ A|--+ B|--+ C
联系客服