Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

SOLVED: drivers from CD

* * * * * 1 votes

  • Please log in to reply
465 replies to this topic

#251
RogueSpear

RogueSpear

    OS: SimplyMEPIS

  • MSFN Sponsor
  • 1,529 posts
  • Joined 18-September 04
I ran across something a little wierd today testing out the driver packs. My install would not even get to the blue text mode portion. I was getting an error stating that the txtsetup.sif was missing or corrupt and a status message of 14.

Even though I was only half awake at the time, I quickly noticed that there is some sort of end of file character. It looks like a box. Well it was right where the txtsetup file used to end. So I did a cut/paste to put it at the end and still got the error. Next step, put the original txtsetup in there and sure enough it fired up.

The install did eventually die later saying it couldn't find ultra.sys... so back to troubleshooting.

I'm thinking that maybe I need to take the driver pack entries and merge them under the original sections. BTW I did try to delete the EOF character all together, but that also gave me the error message.

EDIT: OK, I don't know if this is factual or not, but I theorized that doing a cut/paste on the EOF character might somehow change it since it's a special character. So I cut/paste the driver pack entries to move them to above the EOF character and sure enough it worked. Also the error regarding ultra.sys has disappeared. Whew! B)


How to remove advertisement from MSFN

#252
Caramel

Caramel

    Newbie

  • Member
  • 14 posts
  • Joined 06-March 04
I am unsure where exactly svcpack.inf gets run... where does it ???

btw i don't actually run svcpack.inf at all

#253
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
  • Joined 27-January 04
ok, the way it goes is this
t-39
install devices
install network
install windows
install components
runonceex
svcpack.inf (t-13)
cmdlines.txt (t-12)
i believe there is a t-9 but I dunno how to invoke it or anything
save settings
clear tempfiles
reboot
login
runonceex
guirunonce
desktop (this is if you dont include a restart command in guirunonce or runonceex)

I believe that is it I might be a little off as far as installing windows and installing components may be done at the same time, and I might have missed one or 2 things, but this is how setup.exe works...Ive watched it about 30 times with runonceex executing before svcpack.inf...now, the reason it doesnt execute for most people is because it isnt going to be beneficial to them...the whole reason this argument started is because I asked if thauzar was setting the runonceex keys before or after setup.exe %* was run...if it is before, I believe that it will execute too soon and may mess something up. but having it in presetup.cmd to execute after setup.exe %* runs would be fine, and therefore would get executed on first boot.
When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#254
Bâshrat the Sneaky

Bâshrat the Sneaky

    aka Wim Leers

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,214 posts
  • Joined 29-October 03
  • OS:none specified
  • Country: Country Flag
@RogueSpear: Are you sure you properly patched your txtsetup.sif in that case? Because that's the only possible reason why the ultra.sys file error showed up!

It's being removed by the Patch.cmd, that's being called from RUN_ME_Method_2.cmd.

So I think the problem lies there, are you sure you ran everything correctly?


Bâshrat the Sneaky

#255
RogueSpear

RogueSpear

    OS: SimplyMEPIS

  • MSFN Sponsor
  • 1,529 posts
  • Joined 18-September 04
Yea I ran everything proper. I read over all of the threads related to this top, read all of your instructions twice just to make sure. Am I the only one who has this EOF character? I checked out my txtsetup file thats right on my corp SP2 CD and its in there too.

Once I did get the setup to go on its merry way, it eventually hung at T-33, right at the end of device detection (using method 1). Using method 2, setup keeps on restarting from a blue gui screen that appears like when you do checkdsk.

The Ultra.sys problem went away, and to be honest I never investigated it too carefully, so that could have been something on my part.

Well its a fresh day now, so I'm off to see what I may have screwed up (in both methods).

EDIT: OK, from what I can you must have a carraige return before and after the EOF character otherwise you get the corrupt or missing error. Now I'm getting the error again that setup can't find ultra.sys. I looked in the txtsetup.sif file and it seems that there is another device that goes by the moniker of ultra and uses a file called ultra.sys. Does this seem right?

EDIT2: It looks like XP already comes with a Promise Ultra IDE driver, which I assume is older. Going to try and strip references to it out of txtsetup.inf.

FINAL EDIT: That seemed to do the trick.

#256
Thauzar

Thauzar

    4th Star Learner

  • Member
  • PipPipPip
  • 415 posts
  • Joined 10-August 04
@evilvoice anyway I run runonceex from cmdlines .txt so there is no conflict since it is ran after svcpack.inf should have run (but doesn't :P )

To all others, seriously, am I missing something out, what are those methods and why do I feel like i'm sudently in "bashrat the sneaky's driverpack help" thread? Don't you have your own thread instead of talking about things that do not concern at all pyron's drivers integration? Pyron's method is clean and simple and works perfectly apart from svcpack.inf not running... so why all those questions by carmel and other about drivers pack and stuff? Can they at least help us get pyron's method running?
5. Images in signatures shall NOT exceed a total of 300x100 and 80kb. -- Tarun

#257
Bâshrat the Sneaky

Bâshrat the Sneaky

    aka Wim Leers

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,214 posts
  • Joined 29-October 03
  • OS:none specified
  • Country: Country Flag
@Thauzar: in fact I wanted to say something like you too: this topic shouldn't be a 'DriverPack-topic' or something, but the questions DO concern Pyron's method:

setup is being restarted... ==> in a loop, when using Pyron's method

Doesn't this seem an error concerning Pyron's method to you? So it's quite logical to post it in this topic...

But still I'd like to ask everyone to post ANY question concerning my DriverPacks to post it in a DriverPack topic!

Voilà! That's said!

Bashrat the Sneaky

#258
Thauzar

Thauzar

    4th Star Learner

  • Member
  • PipPipPip
  • 415 posts
  • Joined 10-August 04
@bashrat this error seems to be linked with you driver pack if I understand a bit of what you were talking about (method 2 etc.)cause I don't think pyron's setup is restarting over and over again, or this has just never happened here since p.1. But since you seem to know a lot in drivers integration and stuff, have any idea why svcpack is not working with pyron's method? that would help :)
5. Images in signatures shall NOT exceed a total of 300x100 and 80kb. -- Tarun

#259
Bâshrat the Sneaky

Bâshrat the Sneaky

    aka Wim Leers

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,214 posts
  • Joined 29-October 03
  • OS:none specified
  • Country: Country Flag
I have no clue, Thauzar, if I had *any* idea, I would have posted it a while ago, I've been tracking this topic!

However, now I'll start investigating this problem too... But personnally I think it depends on a VERY minor difference between Windows XP versions. Why? Because:
1. it seems this happens with several language versions of Win XP
2. there is absolutely nothing wrong with what you guys are doing

As I said, when I know something, I'll let you know!

#260
fc.dobriy

fc.dobriy
  • Member
  • 2 posts
  • Joined 23-October 04
Excuse I badly I speak on english, do not pay attention to mistakes. To me has liked DriverPacks and I want to make loading DVD a disk with him (and with other operational systems). Whether it is necessary for me after integration DriverPacks
Anew to create Boot Folder?

#261
Bâshrat the Sneaky

Bâshrat the Sneaky

    aka Wim Leers

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,214 posts
  • Joined 29-October 03
  • OS:none specified
  • Country: Country Flag
Are you saying this?


I think he wants to say this:

Excuse me for my bad English, don't pay attention to my mistakes.

I like the DriverPacks and I want them to load from a DVD with several OSes.
Should I create a new boot folder after integrating the DriverPacks?


If this is what you wanted to say, please copy/paste it in one of the DriverPack topics, this topic only concerns a METHOD, not the DriverPacks!

#262
fc.dobriy

fc.dobriy
  • Member
  • 2 posts
  • Joined 23-October 04
Sorry

#263
Thauzar

Thauzar

    4th Star Learner

  • Member
  • PipPipPip
  • 415 posts
  • Joined 10-August 04
@evilvoice

Everything works great man!!! thank you so much. Thus I now have a valid alternative to svcpack.inf And for Ryan's driver pack, well it's sad but I was not planning on using them anyway.
5. Images in signatures shall NOT exceed a total of 300x100 and 80kb. -- Tarun

#264
yanghaijun

yanghaijun

    Newbie

  • Member
  • 23 posts
  • Joined 12-November 03
When i start the windows 2000 setup from CDROM, the presetup.cmd and the svcpack.inf can works verywell, but when i boot to dos, and run setup from dos command line, like this : winnt /s:e:\i386, the svcpack.inf can't works, why?

I want to install the cat File manually, what should i do?
My english is not good, please help me ...

#265
Muschi

Muschi
  • Member
  • 1 posts
  • Joined 29-August 04
You can also start presetup.cmd @T13 Setup Stage.

winnt.sif
[GuiUnattended]
DetachedProgram = ".\system32\cmd.exe"
Arguments="/C START /MIN FOR %I IN (D: E: F: G: H:) DO (IF EXIST %I\$OEM$\Setup\Presetup.CMD (%I\$OEM$\Setup\Presetup.CMD) ELSE (FOR /D %J IN (%I\*) DO (IF EXIST %J\$OEM$\Setup\Presetup.CMD (%J\$OEM$\Setup\Presetup.CMD))))"

presetup.cmd
REM Hide cmd Window
@cmdow @ /HID


#266
ile5

ile5
  • Member
  • 7 posts
  • Joined 08-June 04
Hi
I think i found (after one day digging) what is Problem with "svcpack won't run" in Pyron's method.
OPENED "presetup.cmd" window (hide or not) is main TroubleMaker.
Obviously windows "setup.exe" don't like "*.cmd" window opened in back.

For testing i made setup.exe (in Delphi) with next process:

1. Open "presetup.cmd" and wait for close.
--- In "presetup.cmd" above "Setup.exe" is renamed to "setupold.exe".
--- "Setuporg.exe" is renamed to "setup.exe".
--- Other stuff....
--- Exit "presetup.cmd".

2. Open original "setup.exe -newsetup" ex. "Setuporg.exe" and wait for close.

I tested this file and every time svcpack run normaly.

----------------------------------------------------------------------------------------------

I don't know how to parameter passing to original "setup.exe" so i put default " -newsetup"

Pyron's method is fantastic, simple and multipurpose and this problem stop my almost finish unattended CD.
I also use Bâshrat the Sneaky's Method_2 for lan & sound drivers which also use this Pyron's method.

@Pyron maybe you change your "setup.exe" and test this method. (maybe i am totaly wrong)

svcpack_fix.zip include:

1. setup.ex_ ---------- Normal version - hidden "presetup.cmd" window.
2. setup_dbg.ex_ ---- Debug version - open "presetup.cmd" window.(If you want use this version rename file in "setup.ex_")
3. presetup.cmd ------ I slightly change this file at the end.


Good luck and sorry for bad english.

iLE

Attached Files


Edited by ile5, 07 November 2004 - 08:58 PM.


#267
Thauzar

Thauzar

    4th Star Learner

  • Member
  • PipPipPip
  • 415 posts
  • Joined 10-August 04
@ile5 TESTED AND PROVEN WORKING!!! Wow man, thanks a lot, appart from doing another setup.exe (which I don't have the competences for), I really tried everything else to make it work. I knew something that stupid was preventing svcpack.inf from running, and you found it out in one day! GREAT! Now if pyron can replace the 1st post with the new files, this thread can now be recommanded as a proven method that works perfectly :thumbup
5. Images in signatures shall NOT exceed a total of 300x100 and 80kb. -- Tarun

#268
evilvoice

evilvoice

    Ditchy McAbandonpants

  • Member
  • PipPipPipPipPip
  • 946 posts
  • Joined 27-January 04
only problem is -newsetup is now hardcoded...instead of being able to pass commands through presetup.cmd
When I spotted this little cutie with some sex appeal. I winked at her, she gave me a look like I'm a booger. I thought b***h, I'd rather spend my money on a hooker. Then a bright idea ran across my mind, if I could swipe a manikin I'd have a freak all the time.

#269
ile5

ile5
  • Member
  • 7 posts
  • Joined 08-June 04
Command Parameter(s) is not hardcoded anymore !
In the new version command parameter(s) pass to the Original setup.exe.
This version is more error verbose in pre setup stage.
Feel free to test this version and post any problem.

svcpack_fix3.zip include:

1. setup.ex_ ----------- Normal version - hidden "presetup.cmd" window.
2. setup_dbg.ex_ ---- Debug version - opened "presetup.cmd" window.
--------------------------- (If you want to use this version rename file in "setup.ex_")
3. presetup.cmd ------ IMPORTANT - I slightly change this file at the end.
--------------------------- (Delete line "start /WAIT setup.exe %*" in your "presetup.cmd" it is not needed anymore.)


iLE ;)

Attached Files


Edited by ile5, 04 November 2004 - 06:17 PM.


#270
jquintino

jquintino

    Member

  • Member
  • PipPip
  • 139 posts
  • Joined 09-April 03
  • OS:none specified
  • Country: Country Flag
this fix is only for 2k?

#271
jquintino

jquintino

    Member

  • Member
  • PipPip
  • 139 posts
  • Joined 09-April 03
  • OS:none specified
  • Country: Country Flag
if i use your methodo my installation just reboot at -t39

there is a problem and i dont now here?

#272
new_user

new_user

    Newbie

  • Member
  • 25 posts
  • Joined 15-March 04
@ile5

I tried to use your svcpack_fix3.zip in my UA XP CD together with

RyanVM Windows XP SP2 Update Pack: 04-Nov-2004 EDIT: 1.0.3
http://www.msfn.org/...showtopic=29536

and

Bâshrat the Sneaky's DriverPacks Method 2
http://www.msfn.org/...showtopic=30190

- DriverPacks BASE - version: 4.10.2
- DriverPack LAN - version: 4.10.3
- DriverPack MassStorage - version: 4.10
- DriverPack Sound - topic - version: 4.10.1

By the way @Bâshrat the Sneaky
in your presetup.cmd (contained in Driver BasePack) the /F parameter is missing here:
[code=auto:0]
REM +=======================================================+
REM | Reset DriverPolicy |
REM |-------------------------------------------------------|
reg add "HKCU\Software\Microsoft\Driver Signing" /v Policy /t REG_DWORD /d 1 /F
reg add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v BehaviorOnFailedVerify /t REG_DWORD /d 1 /F
reg add "HKLM\Software\Microsoft\Driver Signing" /v Policy /t REG_BINARY /d 01 /F
REM +=======================================================+
Otherwise setup displayed and sits at a blue background forever!
Because the "Reg add" command waits for a "y" input (you can't see this in the batch)


@ile5
I get the following error messages:
1. "Pesetup.cmd" file is missing ! Try to continue normal setup ?
2. setupORG.exe file is missing, Setup Abort!

But your presetup.cmd is still there in the i386 folder of the UA XP CD
(see message screens)
Any tip ???

Thanks in advance

#273
ile5

ile5
  • Member
  • 7 posts
  • Joined 08-June 04
@jquintino

this fix is only for 2k?

Not only for win 2k!

1. This is not my method just a "setup.exe" (Pyron's method).
2. I don't know in your case is it windows setup begin and then restart at t-39 or
setup not even begin.

@new_user

1.
For test try to put this three files in the same directory:
- setup.exe,presetup.cmd,SetupORG.exe
("SetupORG.exe" is renamed original windows "setup.exe")
Edit presetup.cmd and leave only this:

presetup.cmd:
if exist setup.exe ren setup.exe setupold.exe
if exist setupORG.exe ren setupORG.exe setup.exe
exit

Execute "setup.exe".

If "windows Xp Setup" window is pop up with "Please go to Control Panel..."
everything is fine because setup is started without parameter.

2.
Check your "Txtsetup.sif" in i386 folder
Txtsetup.sif:
.
.
.
[SourceDisksFiles]

setupORG.exe = 1,,,,,,,2,0,0 ; must exist
presetup.cmd = 1,,,,,,,2,0,0 ; must exist
.
.
.

3.setup.ex_, setupORG.exe, presetup.cmd - must be in i386 folder on your xp cd.

iLE :huh:

#274
new_user

new_user

    Newbie

  • Member
  • 25 posts
  • Joined 15-March 04
@ile5

Thank you for the detailed guide! It works now!
I did not notice the this before !

[SourceDisksFiles]
setupORG.exe = 1,,,,,,,2,0,0; must exist
presetup.cmd = 1,,,,,,,2,0,0; must exist
.
.


There is another error message in presetup.cmd
(see my attached file)
But i will find it by my self
Good to have your setup_dbg.ex_ Debug version - open "presetup.cmd"

Thank for your help.

new_user

Attached Files



#275
new_user

new_user

    Newbie

  • Member
  • 25 posts
  • Joined 15-March 04
@ile5

I come a small step further, I could solve the problem
"Windows cannot find 'e:\OEM\bin\WatchDriverSigningPolicy.exe'
In your prestup.cmd included in svcpack_fix3.zip there is the following line:

REM +=======================================================+
REM | Enable installation of unsigned drivers               |
REM |-------------------------------------------------------|
start %CDDRIVE%\OEM\bin\WatchDriverSigningPolicy.exe
REM +=======================================================+


The "start" Command ??? I removed it now setup continues here.
Now the SetDevicePath.exe could not be found. (see image)
But the file is still the on CD-ROM in \OEM\bin !
I cannot understand it ???
For assistance I would be grateful

Thanks in advance

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users