SOLVED: drivers from CD possible even without winnt.sif!
Posted 05 May 2004 - 09:15 PM
And actually the Path is set right when Windows Setup starts (before the GUI part starts) same was when it imported from Winnt.sif
I dunno about time saver? I seems like it'd be easier to have the drivers easily editable on a disk, rather then change the drivers make sure structure is correct, and then recreate the archive.
Posted 05 May 2004 - 09:35 PM
And I don't mind making an archive, I've got a fast computer . Yes, I would leave them uncompressed on my hard drive.
Posted 05 May 2004 - 09:36 PM
you would have one file to copy over, but then you'd have to extract it would might take awhile depending on the size (a few minutes really).
so the real question comes down to , Speed vs. Size, as it always does
Posted 06 May 2004 - 06:29 AM
So how would I make sure it executed before PnP device detection?
And if you did it that way, I could extract it to C:\Drivers and never even need to change my winnt.sif.
Posted 06 May 2004 - 06:50 AM
that should get it there before detection begins. I think anywayz...
Or maybe you could use a combined method of this and the rar. Use the setup and presetup.cmd files from this, but only to extract the archive, and then continue the setup.
Posted 06 May 2004 - 07:37 AM
Posted 06 May 2004 - 11:32 AM
It silently unpacks like this: drivers.exe /S. But it doesn't get unpacked at all when I run it detached by winnt.sif!!!
However, I've noticed again something interesting: when you create a SFX archive you can choose a SFX-module, somewhere in properties.
You can choose between:
-Win.con.sfx (Windows Console)
The last two, and specificly the last one could be very usefull I think? Could anyone test this, as I'll be in London the next two days? (school trip)
Posted 06 May 2004 - 01:43 PM
And Bashrat, your problem was likely that you didn't put the /S flag in the Arguments string. It doesn't go with the exe. But I used the standard RAR SFX module and had it show me progress and it worked like a charm. No need for flags if you create the SFX archive properly.
XP Setup even waits for it to finish running before it does PnP Device detection! Win-win!
Posted 07 May 2004 - 07:25 AM
;The comment below contains SFX script commands Path=%systemdrive%\Drivers SavePath Silent=2 Overwrite=1That will tell it to extract to Drivers on root (in other words, generally C:\Drivers). It will show an extraction progress dialog (so you can verify that it is indeed working. Change Silent=2 to 1 if you want it to be completely hidden. Overwrite=1 tells it to overwrite any files it comes across (not that it'll be an issue if you're doing a clean install).
So now you should have an exe (mine's called Drivers.exe and I'll be using it as an example) with the above comment in it (you can test its functionality too by double clicking and verifying that it extracts how you want it to). Place it in your $1 folder inside $OEM$. In the [GUIUnattended] section of winnt.sif, add the following line:
DetachedProgram="%systemdrive%\Drivers.exe"Leave your OEMPnPDriversPath settings in winnt.sif the same as if the files were uncompressed on the CD. They will be extracted prior to PnP device detection, so this will not be a problem.
Attached is a picture of what the archive should look like.
Number of downloads: 892
Posted 07 May 2004 - 08:14 AM
Alanoll, on May 7 2004, 07:59 AM, said:
The way I see it is that both methods have their merits and each kind of serve their own unique purpose. The advantage to Pryon's method is that it can be used with a "vanilla" XP CD which allows for repairs and doesn't require the files to be copied from the CD prior. The advantage to the second method is that it allows for compression which inevitably means room for more stuff!
Posted 07 May 2004 - 08:55 AM
Alanoll, on May 7 2004, 08:44 AM, said:
go DVD!! I still got about 1 gig of room to fill on it. so....yeah...
Yeah, I'm really starting to yearn for a DVD burner. I'm thinking one of those SATA Plextor ones coming out soon sounds nice (thin cables...mmm...). But as it stands right now, my XP install CD is standing at 420MB (yay for jdboeck's cleanup batch files), so no need for it quite yet. I'd image if I go DVD at some point, I'll be scripting office2003 and such in there as well, though.
Posted 08 May 2004 - 10:32 PM
wish I had a cable SATA drives myself. I only have two ports, but I'm sure they have expandsion cards or something. I currently have 6 IDE drive on 4 cables (They're not long enough, and I'm too lazy to buy a new one)
Posted 18 May 2004 - 02:45 PM
Does this approach work when combined with the detached program method?
part of winnt.sif
[Unattended] UnattendMode=DefaultHide OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS FileSystem=* UnattendSwitch="No" WaitForReboot="No" DriverSigningPolicy=Ignore ;OemPnPDriversPath="Drivers\06_storage;...;Drivers\06_storage\nvidia" [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=215 OemSkipWelcome=1 DetachedProgram="%systemdrive%\drivers\drivers.exe"
%systemdrive% cd %windir%\system32 REM Scanning for driverdirectories %systemdrive%\SetDevicePath.exe %systemdrive%\drivers REM Enable installation of unsigned drivers start %systemdrive%\WatchDriverSigningPolicy.exe
Posted 18 May 2004 - 02:50 PM
If doing the first one, it allows for not having to type out all the paths, but the drivers have to be all extracted and to a certain folder, whether on CD or harddrive.
As a little experiment to combine the two, and since you're alrady setup.....
try adding the line for your Detached Program in presetup.cmd, leave out OEMPnPDriversPath and DetachedProgram in Winnt.sif and see if it works.