randalldale Posted September 19, 2007 Posted September 19, 2007 (edited) Hey guys,I have been here a while and do a lot of unattends but this is my first sysprep image and danged if I can figure out why my driver infs are not being recognized!I have located my drivers inside the sysprep folder as such:c:\sysprep\i386\inf or c:\sysprep\i386\$oem$\inf and neither one finds a single driver???Here is the needed section of my sysprep.inf[unattended] OemSkipEula=Yes InstallFilesPath=C:\sysprep\i386[GuiUnattended] AdminPassword="xxxxxxxx" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=2 OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[unattend] UnattendMode=DefaultHide OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch=Yes TargetPath=\WINDOWS OemPNPDriversPath="inf\;inf1\;inf2\;inf3\;inf4\;inf5\;inf6\;inf7\;inf8\;inf8\APPS\PROSETDX\Win32\DRIVERS\;inf8\PRO100\Win32\;inf8\PRO1000\Win32\;inf9\;inf\10\;inf\11\;inf\12\;inf\13\;inf\15\;" WaitForReboot=No[setupMgr] DistFolder=C:\sysprep\i386 DistShare=windistI hate acting like a NOOBE here but I'm at a loss as to why the image is not picking up the drivers?I should note that I have tried adding a slash to the path statement ("\inf\;\inf1;...) and it still doesn't work.I do a sysprep.exe -mini -resealAnyone have any ideas, I'm stumped... Edited September 19, 2007 by randalldale
IcemanND Posted September 19, 2007 Posted September 19, 2007 Where do your directories for drivers reside?from the way it is written they would all be at the root of c:c:\inf\c:\inf1\c:\inf2\c:\inf3\c:\inf4\c:\inf5\c:\inf6\c:\inf7\c:\inf8\c:\inf8\APPS\PROSETDX\Win32\DRIVERS\c:\inf8\PRO100\Win32\c:\inf8\PRO1000\Win32\c:\inf9\c:\inf\10\c:\inf\11\c:\inf\12\c:\inf\13\c:\inf\15\
randalldale Posted September 19, 2007 Author Posted September 19, 2007 Hmmm... good point.I had thought that the install files path listed where the system looked for the drivers i.e. 'c:\sysprep\i386' when installing windows.Basically you are saying that my OEMPnPpath statement should have been 'sysprep\i386\inf;sysprep\i386\inf1;...' I tried changing the naming structure as suggested, 'sysprep\i386\inf\;sysprep\i386\inf1\;...' and it made no difference.I also switched the location of the INF folders to the root of c: and it made no difference, any ideas?
IcemanND Posted September 19, 2007 Posted September 19, 2007 check the registry before you sysprep.HKLM\software\microsoft\windows\currentversion\devicepathit should only contain c:\windows\inf or equivalent if you use the OEMpnppath in the sysprep.inf. or putt all of your paths directly in this key.
randalldale Posted September 19, 2007 Author Posted September 19, 2007 Can you have multiple entires like... c:\windows\inf;c:\sysprep;c:\$oem$... ?
IcemanND Posted September 19, 2007 Posted September 19, 2007 yes you can have as many as you want in the registry, just separate them with a ;
VCC Posted September 20, 2007 Posted September 20, 2007 You might also try Bashrat's Driverpacks. He's been perfecting those for years now and has a proven method already, instead of trying to go at it on your own. Works awesome for Sysprep too, I use them all the time without problems.
randalldale Posted September 21, 2007 Author Posted September 21, 2007 After a couple of days I'm still not having a lot of success.Still working on it though... just seems to only work with complete statements in both the sysprep.inf and Registry. I had thought that it would have been a little more intuative. I mean all my unattends only need to know where to look (InstallFilesPath) and not have to have a registry entry too!Plodding onward I guess...
IcemanND Posted September 21, 2007 Posted September 21, 2007 It should be one or the other not both. with the exception of the registry holding the default of the windows\inf directory there should not be anything else if you use the sysprep setting. and nothing in sysprep if you are using the registry setting.
randalldale Posted September 21, 2007 Author Posted September 21, 2007 Well I will try using just the registry setting becasue nothing in sysprep seems to work.Here is what I tried:[unattended] OemSkipEula=Yes InstallFilesPath=C:\sysprep\i386[GuiUnattended] AdminPassword="" EncryptedAdminPassword=NO AutoLogon=Yes AutoLogonCount=2 OEMSkipRegional=1 OemSkipWelcome=1[unattend] UnattendMode=DefaultHide OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch=Yes TargetPath=\WINDOWS OemPNPDriversPath="c:\sysprep\i386\$oem$\inf\;c:\sysprep\i386\$oem$\inf1\;c:\sysprep\i386\$oem$\inf2\;c:\sysprep\i386\$oem$\inf3\;c:\sysprep\i386\$oem$\inf4\;c:\sysprep\i386\$oem$\inf5\;c:\sysprep\i386\$oem$\inf6\;c:\sysprep\i386\$oem$\inf7\;c:\sysprep\i386\$oem$\inf8\;c:\sysprep\i386\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;c:\sysprep\i386\$oem$\inf8\PRO100\Win32\;c:\sysprep\i386\$oem$\inf8\PRO1000\Win32\;c:\sysprep\i386\$oem$\inf9\;c:\sysprep\i386\$oem$\inf\10\;c:\sysprep\i386\$oem$\inf\11\;c:\sysprep\i386\$oem$\inf\12\;c:\sysprep\i386\$oem$\inf\13\;c:\sysprep\i386\$oem$\inf\14;c:\sysprep\i386\$oem$\inf\15\;" WaitForReboot=No[userData]Also tried: InstallFilesPath=C:\sysprep\i386 OemPNPDriversPath="\$oem$\inf\;\$oem$\inf1\;\$oem$\inf2\;\$oem$\inf3\;\$oem$\inf4\;\$oem$\inf5\;\$oem$\inf6\;\$oem$\inf7\;\$oem$\inf8\;\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;\$oem$\inf8\PRO100\Win32\;\$oem$\inf8\PRO1000\Win32\;\$oem$\inf9\;\$oem$\inf\10\;\$oem$\inf\11\;\$oem$\inf\12\;\$oem$\inf\13\;\$oem$\inf\14;\$oem$\inf\15\;" InstallFilesPath=C:\sysprep\ OemPNPDriversPath="\i386\$oem$\inf\;\i386\$oem$\inf1\;\i386\$oem$\inf2\;\i386\$oem$\inf3\;\i386\$oem$\inf4\;\i386\$oem$\inf5\;\i386\$oem$\inf6\;\i386\$oem$\inf7\;\i386\$oem$\inf8\;\i386\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;\i386\$oem$\inf8\PRO100\Win32\;\i386\$oem$\inf8\PRO1000\Win32\;\i386\$oem$\inf9\;\i386\$oem$\inf\10\;\i386\$oem$\inf\11\;\i386\$oem$\inf\12\;\i386\$oem$\inf\13\;\i386\$oem$\inf\14;\i386\$oem$\inf\15\;" InstallFilesPath=C:\ OemPNPDriversPath="c:\sysprep\i386\$oem$\inf\;c:\sysprep\i386\$oem$\inf1\;c:\sysprep\i386\$oem$\inf2\;c:\sysprep\i386\$oem$\inf3\;c:\sysprep\i386\$oem$\inf4\;c:\sysprep\i386\$oem$\inf5\;c:\sysprep\i386\$oem$\inf6\;c:\sysprep\i386\$oem$\inf7\;c:\sysprep\i386\$oem$\inf8\;c:\sysprep\i386\$oem$\inf8\APPS\PROSETDX\Win32\DRIVERS\;c:\sysprep\i386\$oem$\inf8\PRO100\Win32\;c:\sysprep\i386\$oem$\inf8\PRO1000\Win32\;c:\sysprep\i386\$oem$\inf9\;c:\sysprep\i386\$oem$\inf\10\;c:\sysprep\i386\$oem$\inf\11\;c:\sysprep\i386\$oem$\inf\12\;c:\sysprep\i386\$oem$\inf\13\;c:\sysprep\i386\$oem$\inf\14;c:\sysprep\i386\$oem$\inf\15\;"None worked any ideas?
TheReasonIFail Posted September 24, 2007 Posted September 24, 2007 (edited) OK,The "InstallFilesPath" only tells sysprep where to look for the Windows install files, in case some are needed during the mini-setup. This has nothing to do with the drivers.The "OemPnpDriversPath" should be the actual path to the drivers.In my sysprep build, my drivers are in C:\Sysprep\D\* so my "OemPnpDriversPath" looks like this:OemPNPDriversPath=c:\sysprep\d\a\1;c:\sysprep\d\a\2;c:\sysprep\d\a\3; etc... Edited September 24, 2007 by TheReasonIFail
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now