SOLVED: drivers from CD possible even without winnt.sif!
#41
Posted 18 May 2004 - 08:22 PM
#43
Posted 18 May 2004 - 08:30 PM
#44
Posted 18 May 2004 - 08:42 PM
@RyanVM, just a couple of questions:
have you tried this method in an unattended cd setup? if so, are you using SFX-compressed archives in containing the drivers? i would also like to know where did you placed the necessary files? may i also know what does your presetup.cmd contains? thanks so much.
#45
Posted 18 May 2004 - 11:54 PM
If it's complaining about a missing setuporg.exe, make sure you made the entries to txtsetup.sif AND dosnet.inf as shown in the first post. Otherwise, it's never copied from the CD, and presetup.cmd is launched from hdd.
@RyanVM
I believe edmoncu is trying to combine the two methods. But keep in mind, that your your SFX archive with all the drivers files, must be in $OEM$\$1 somewhere, and the line that then calls it is also refers to the directory it will be in. If you had a working DetachedProgram line, I said copy that to presetup.cmd. But it appears that you've only taken snippets from each of the methods, and trying to make it work.
#46
Posted 19 May 2004 - 01:25 AM
Oh, I get it now (I hope)! Thanks!
So the decompression of the SFX-Compressed Archive has to be done under presetup.cmd?
I hope it would be possible to make an SFX RAR-Compressed archive that will work on a console (pre-gui) or dos-like environment. Or any SFX RAR-Compressed archive will do?
Will try this later this day... I plan on using these commands under presetup.cmd
start /wait %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
what made me a bit confused is the 2nd and 3rd line of commands
%systemdrive% cd %windir%\system32
i wonder is there still a need for these commands.
anyway, as for winnt.sif, shall i still have to comment-out on OemPnPDriversPath and DetachedProgram.
am i right on track?
#47
Posted 19 May 2004 - 04:36 PM
in other words, when making a WinCon-based SFX, functionality is limited, you cannot pre-specify a destination folder for the uncompressed file. meaning when using this with presetup.cmd, you have to make sure you execute the WinCon-based SFX archive at the folder you're going to extract files to. in my case, since I have the drivers.exe on the drivers folder of the root directory of the system drive (copied via $OEM$\$1\Drivers), i have to adjust the parameters within presetup.cmd:
%systemdrive% cd %systemdrive%\drivers start /wait drivers.exe cd %windir%\system32 REM Scanning for driverdirectories %systemdrive%\SetDevicePath.exe %systemdrive%\drivers REM Enable installation of unsigned drivers start %systemdrive%\WatchDriverSigningPolicy.exe
#48
Posted 20 May 2004 - 09:15 AM
#49
Posted 20 May 2004 - 08:48 PM
in OEMPnpDrivers path you could have 002,004,001,005,003 but when Windows searched for drivers it would see it as 001,002,003,004,005
#50
Posted 21 May 2004 - 02:33 AM
btw, just a note, sfx-winrar archive doesnt work at being uncompressed at this part of the installation. though sfx-winrar (compressed using windows console mode) will work, as well as sfx-zip archive compressed via 7zip.
#51
Posted 21 May 2004 - 02:43 AM
edmoncu, on May 21 2004, 10:33 AM, said:
btw, just a note, sfx-winrar archive doesnt work at being uncompressed at this part of the installation. though sfx-winrar (compressed using windows console mode) will work, as well as sfx-zip archive compressed via 7zip.
Do you need any switches to extract a 7zip sfx archive? I guess no?
#52
Posted 21 May 2004 - 03:17 AM
however, in the case of the winrar-sfx (wincon-mode) archive, no additional switches were required.
#53
Posted 21 May 2004 - 03:29 AM
edmoncu, on May 21 2004, 11:17 AM, said:
however, in the case of the winrar-sfx (wincon-mode) archive, no additional switches were required.
I'm asking WHAT switches you used...
#54
Posted 21 May 2004 - 06:26 AM
#55
Posted 21 May 2004 - 07:29 AM
RyanVM, on May 21 2004, 02:26 PM, said:
I'm having the same problem :'(
#56
Posted 21 May 2004 - 07:46 AM
ooops im sorry, i didnt get your first post. anyway, i used the following switches when i extract the 7zip-sfx archive:
-y /q /r:n
anyway, here's how my presetup.cmd looked like:
%systemdrive% cd %systemdrive%\drivers start /wait drivers.exe -y /q /r:n cd %windir%\system32 REM Scanning for driverdirectories %systemdrive%\SetDevicePath.exe %systemdrive%\drivers REM Enable installation of unsigned drivers start %systemdrive%\WatchDriverSigningPolicy.exe
anyway, as for the destination directory, i have no much information yet to declare within a 7zip-sfx archive the destination folder, its assumed that extraction has to take place to the default working directory.
in order to make sure it extracted at the proper place, i had to manually invoke a CD = change directory command before the extraction of the sfx-archive. i assigned the default working directory to %systemroot%\Drivers folder. i also placed a wait flag to the start command so that it fully finishes extraction first before proceeding with the next set of commands in the CMD file.
#57
Posted 21 May 2004 - 08:09 AM
#58
Posted 21 May 2004 - 08:37 AM
#59
Posted 21 May 2004 - 08:59 AM
edmoncu, on May 21 2004, 10:37 AM, said:
I still maintain that you're incorrect on that matter. I'll create and ISO and take screenshots in VirtualPC a bit later on today to back that up.
EDIT: But I too am convinced that 7zip does give better compression that RAR. Like I said before, it takes over 3MB off my drivers archive.
#60
Posted 21 May 2004 - 10:36 AM
/me suddenly feels to worry about my work.



Help


Back to top









