SOLVED: drivers from CD possible even without winnt.sif!
#381
Posted 05 May 2005 - 03:16 AM
So, I have to find where the problem lies, before I try your packs, because, I think I will have the same problem with your packs (as they use also Pyron's jobs).
I guess there is a compatbility pb between Pyron's jobs and one of following I use at the same time :
- cmdlines.txt
- svcpack.inf
- runonceex.cmd
- txtsetup.sif
- winnt.inf
Any idea from experimented users ?
Thank you very much and see ya !
#383
Posted 05 May 2005 - 03:26 AM
No, unfortunately, it never worked for me ...
just two more precisions :
WINNT.INF
... ;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=no [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="yes" TargetPath=\WINDOWS FileSystem=* WaitForReboot = No ; OemPnPDriversPath="Pinnacle\PCTV550\Driver" ; DriverSigningPolicy=Ignore KeyboardLayout="Fran‡ais" [GuiUnattended] AdminPassword="password" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=105 OemSkipWelcome=1 ...
RegTweaks i use in the end of RunOnceEx.cmd
... ;Microsoft recommends to reset the DevicePath to "%SystemRoot%\Inf" after setup REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion] "DevicePath"=hex(2)& #58;25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 00,74,00,25,00,5c,00,49,00,6e,00,66,00,00,00 ;If you used WatchDriverSigningPolicy.exe, you should reset the appropriate keys if you ;don't want unsigned drivers to be installed without warning (replace 0 by 1) REGEDIT4 [HKEY_CURRENT_USER\Software\Microsoft\Driver Signing] "Policy"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing] "Policy"=hex:00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Driver Signing] "BehaviorOnFailedVerify"=dword:00000000 ...
#384
Posted 05 May 2005 - 04:36 AM
#385
Posted 05 May 2005 - 08:19 AM
The only matter is that EVERYTHING else works perfectly, so that makes me very confusing...
Thank you for trying and for your incredible presence in this forum (and others ;o))
#386
Posted 05 May 2005 - 01:44 PM
Could you please give me a WINNT.SIF minimum unattended model that works with Pyron's jobs ?
Another question :
In order to replace SVCPACK.INF, if I make a cmd that is executed in the RunOnceEx time, what is the equivalent of qchain.exe ?
Can I just use .cmd like this :
start /wait KBxxxxxx.exe /q /n /z
start /wait qchain.exe
or not ?
#387
Posted 06 May 2005 - 02:35 AM
To the 2nd question: yes, that's correct.
#388
Posted 06 May 2005 - 03:09 PM
serialzs, on Aug 21 2004, 11:04 AM, said:
big_gie, on Aug 21 2004, 08:29 AM, said:
@big_gie
this is the correct way...
SetDevicePath.exe %cdrom%\Drivers
the 1st part is SetDevicePath.exe is for command for your REGISTRY
and the 2nd part is %cdrom%\Drivers is for the folder were you put the drivers files...
to test it if its working...
1. Run REGEDIT
2. goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion dont close REGEDIT... remember what data is in DevicePath key...
3. execute the SetDevicePath.exe with the Drivers folder path.
(eg. SetDevicePath.exe D:\drivers)
4. go back to REGEDIT then then press F5 to Refresh Registry, look @ DevicePath
if it add the Drivers Folder Path on DevicePath Key then it works good...
-=[serialzs]=-
<{POST_SNAPBACK}>
I tried this just to verify...and
4. i still had the value %systemroot%\inf
So, the SetDevicePath.exe is not working ?
#389
Posted 06 May 2005 - 04:44 PM
because I could do this :
- change manually the key to anyvalue
- use SetDevicePath.exe %SystemRoot%\Inf
and it worked, just like this value is permitted, but not the others...
#390
Posted 06 May 2005 - 06:38 PM
Then I tried another one, with much smaller PATH, and the result was the same.
Finally, it seems that SetDevicePath.exe is not wotking in my computer at all, because the only way it work is to set it to %SystemRoot%\Inf when initally not equal to %SystemRoot%\Inf
Help please ! Is there something I can do to check SetDevicePath.exe (and possible issues) furtherer ?
Thank you very much in advance !!!
#391
Posted 07 May 2005 - 11:15 AM
#392
Posted 09 May 2005 - 06:17 AM
#393
Posted 10 May 2005 - 03:14 AM
"Afterdawn, on in topics Pyron's SetDevicePath.exe clone", said:
The drivers_path and winnt_file should be surrounded by quotes if you have spaces in your path. Make sure you've downloaded nircmd.
CODE@echo off set drivers_path=D:\xp_unattend\$oem$\$1\drivers set drivers_prefix=drivers set winnt_file=D:\xp_unattend\i386\winnt.sif call :traverse %drivers_path% %drivers_prefix% nircmd.exe inisetval %winnt_file% "Unattended" "OemPnPDriversPath" "~q%newPath%~q" goto :eof :traverse pushd %~f1 if EXIST *.inf ( if NOT DEFINED newPath ( set newPath=%~2 ) else ( call set newPath=%%newPath%%;%~2 ) ) for /d %%I in (*) do ( call :traverse "%%I" "%2\%%I" ) popd goto :eof
Hello everybody,
@Bashrat : yes I already tried to the everything again, since the beginning and without anything that is not needed, but it's still not working...
@Evilvoice : finally someone who's got the same problem ! I am not insane (just a little crazy) ;o))
Well, I ve found this alternative in an other topic, but even if they say that's the same than Pyron's it seems there is a BIG difference :
- Pyron's SetDevicePath.exe scan recursively its argument - which is a folder, memorising as many lines as there are sublfolders with INF files. The result is used to update REGISTRY ENTRY Device Path. No need for WINNT.SIF !
- This one do exactly the same but the result is used to update WINNT.SIF, more precisely, the line OemPnPDriversPath...
But, correct me if I'm wrong (and it is possible that I am, as I am not a programmer), it seems however to me that it s much more complicated to make a code to scan than to update ? So I was asking myself is there a way to change a little this script and make it do exactly the same thing than SetDevicePath.exe ?
#394
Posted 13 May 2005 - 01:44 AM
#396
Posted 15 May 2005 - 02:27 PM
First off, I have my cd setup like this:
WIN51
WIN51IP
WIN51IP.SP1
I386
$OEM$\RunOnceEx.cmd
--$1$
----install
----drivers\000_chipset
----drivers\001_graphics
----drivers\002_sound
----drivers\SetDevicePath.exe
----drivers\WatchDriverSigningPolicy.exe
When I try to run the Windows XP Setup in VMWare 5, things appear to go fine, until it gets to the part where it runs presetup.cmd. I'm thinking this is where the trouble area is. I have it setup as follows:
set tagfile=\WIN51IP
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%i:%tagfile%" set CDDRIVE=%%i:
%CDDRIVE%\$OEM$\$1\Drivers\SetDevicePath.exe %CDDRIVE%\$OEM$\$1\Drivers
start %CDDRIVE%\$OEM$\$1\Drivers\WatchDriverSigningPolicy.exe
I suspect it's something fairly simple, looked over the guides many times and have not made much progress at all. If someone could point me in the right direction, it would be very much appreciated. Thanks.
#397
Posted 17 May 2005 - 01:13 AM
#398
Posted 05 June 2005 - 10:16 PM
I combined Pyron's method and am using winPE to install XP Pro. During the text portion of the setup, it says that it is unable to find setupORG.exe and presetup.cmd
Once I press ignore on both, the setup installs the rest of the files. Now when the GUI portion is about to start, it just continously reboots, which makes sense, since it is searching for presetup.cmd which was not copied....
Any advice?
And yes, both files are in the I386 folder...
#399
Posted 05 June 2005 - 11:06 PM
#400
Posted 05 June 2005 - 11:11 PM
Bâshrat the Sneaky, on Jun 5 2005, 11:06 PM, said:
<{POST_SNAPBACK}>
According to pyron, I have added the appropriate entries in the txtsetup.sif, That is why its asking for the files to begin with.
No one said anything about a dosnet.inf, I'll try it out
But just in case, any other suggestions? Thanks for your quick response btw
I'm a big fan of your work and a long time reader of the forums, just don't post very much!
OHH!, where do I add them in the dosnet.inf



Help

Back to top









