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

Multiboot CD?

- - - - -

  • Please log in to reply
23 replies to this topic

#1
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

When HFSLIP is running it asks if this is going to be a multiboot CD, and if so what is the folder name. The resulting product is the same regardless what I select. I searched the SOURCESS folder for anything that had the folder name I chose in it, and nothing came up.

 

So what does this option do exactly? And how does it help in making a multiboot CD?

 

Thanks in advance.




How to remove advertisement from MSFN

#2
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,546 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

To keep things together -

http://www.msfn.org/...reating-an-sp4/

 

I haven't used HFSLIp for a while, but one may -assume- that the Method complies with the STANDARD method of creating a MultiBoot Install. Look that up for more info...

 

Side note - It involves modifying a couple of critical files, AFAIKR.


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#3
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

I hope someone could explain this feature.

For my Win2k I have been sucessful for many years making a multiboot with just modifying in a hex editor the SETUPLDR.BIN and BOOT.BIN by modifying the "I386" with any other 4 charactor folder name.

 

With XP, however, the text setup portion works perfectly, but sadly during the gui setup it constatnly asks me for the location of the source, with it assuming the folder is called I386.



#4
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

I hope someone could explain this feature.
For my Win2k I have been sucessful for many years making a multiboot with just modifying in a hex editor the SETUPLDR.BIN and BOOT.BIN by modifying the "I386" with any other 4 charactor folder name.
 
With XP, however, the text setup portion works perfectly, but sadly during the gui setup it constatnly asks me for the location of the source, with it assuming the folder is called I386.


Well, with all due respect :), it's not like "news" or "a new frontier" or "a still unresolved mistery", the Gosh and Flyakite guides are on MSFN since the dawn of time (almost).

Here:
http://gosh.msfn.org/
http://flyakite.msfn.org/

jaclaz

#5
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

Ok, after reading those pages in regards to XP it looks that the "SetupSourcePath" in the txtsetup.sif just needs to be modifed.

 

So that brings me back to my original question: what the heck is the MBOOTPATH variable for in HFSLIP? The description of it sounds like it would modify the txtsetup.sif in the way I just mentioned above - but it doesn't.

 

After scanning the HFSLIP file I see that the only thing that is done with the variable is that it is written to the HFSLIP.LOG file! So where there plans to actually do something with it, but it never got done?



#6
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,546 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

Errr...

The closest I could find to that is in a Google Cache (ATM) -

http://webcache.goog...&hl=en&&ct=clnk

when you're intending to
I can't really tell you beyond that.

 

Your assumption is incorrect. For a Multiboot CD (multiple versions of XP) you need several more files Hex-Edited. AND a fron-end to allow selecting any given one. These are called AIO's (ICYMI) containing (e.g.) BOTH (or more) XP Home -and- XP Pro. IOW, you have misunderstood what MultiBoot means.

 

I -could- assume that means one -may- be intending to put an XP Install on a CD along -with- (e.g.) some Utilities (booting to e.g. MemTest Image).

 

Unless you can tell us -which- "thing" you want to do with that "extra" I'm afraid there can be no help. :(

 

AHA! Here is a screen shot - Yep, it's that "AIO" thingy...

http://www.softpedia...shot-54411.html

Now look back at the links jaclaz gave. :yes:


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#7
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

The MBOOTPATH does not contribute to forming the HFSLIP and HFSLIPSVC variables anymore:
Like:
http://www.msfn.org/...lation-bug-fix/

Or maybe the above mod introduced a form of "regression bug" for multiboot CD's, if this is the case, try the version immediately before that mod. :unsure:

It's a lot of time I don't use HFSLIP and possibly I never used it in/for a multibootCD, but maybe you are expecting by the MBOOTPATH something different from what was in the intention of the Author:
http://www.msfn.org/...i-boot-support/
(and that the new code has now made "automatic")

If you check this (german, but google translate is not that bad) guide:
http://cypressor.two...tories/2597337/
you will see how you slipstream each source and then copy the SOURCESS folder AS the \I386\ in the various DVD folder structure.

Maybe you were expecting HFSLIP to do that for you?

jaclaz
 



#8
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

Thank you for all the replies. I appreicate the time and effort!

 

In HFSLIP is says:

ECHO If you are making a multiboot CD, what folder/pathname will this OS reside in
ECHO on your new CD?
ECHO.
ECHO The format to enter is: ^<subfolder^>\
ECHO.
ECHO Example: Pro\
ECHO.
ECHO Note: You must type in the \ at the end if you enter a multiboot path.
ECHO.
ECHO.
ECHO If you are not going to make a multiboot CD, simply press Enter to bypass the
ECHO multiboot installation CD mode.
ECHO.
ECHO.
SETLOCAL DISABLEDELAYEDEXPANSION
ECHO IMPORTANT!
SETLOCAL ENABLEDELAYEDEXPANSION
ECHO It is not possible to use the new source made by HFSLIP both in the context
ECHO of a CD with a single OS and in the context of a multiboot CD.  It's either
ECHO one or the other.

 

However the code does nothing with this variable:

IF DEFINED MBOOTPATH GOTO :DELCATS (which it goes to anyways)

 

SET /P MBOOTPATH= (this is where it gets user input)

 

IF NOT DEFINED MBOOTPATH SET MBOOTPATH=Default (gives it a value if it doesn't have one already)

 

ECHO>>HFSLIP.LOG CD Install Path - %MBOOTPATH%&ECHO/>>HFSLIP.LOG (inserts the value to the LOG file)

 

 

And that is it!!

 

So I expected it to modify the files so that it installs from an alternative folder than ROOT:\I386

It should at least, in my opinion, modify the SetupSOurcePath value in TXTSETUP.SIF

 

I think I am just going to add code to my copy of the script to give it this functionality.

 

I am using CDRPACK v1.3 by Bart Lagerweij to create my multiboot ISO, as I have for many years.

 

I don't make an ISO with HFSLIP, I just take the I386 folder in the SOURCESS folder and put it in my folder that's CDPACK is using to build my ISO. Of cource hex editing the .BIN files as needed.



#9
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,546 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

Well, it -appears- that the Variable is INITIALLY placed in "HFTOOLS\HFANSWER.INI", so it -appears- that since you didn't use that in your Run, then the Variable is NOT set -and- it uses "Default".

IF EXIST HFTOOLS\HFANSWER.INI FOR /F "DELIMS=" %%I IN ('FINDSTR/R "=" HFTOOLS\HFANSWER.INI') DO SET %%I

See? -IF- it Exists -THEN- each-and-ever-Variable that it -FINDS- will be Set. Guess you should find a good set of instructions on that FileName...

 

STILL can't access the Website http://hfslip.altervista.org BUT here is that GoogleCache I had given in you other thread (AFAICR) -

http://webcache.goog...&hl=en&&ct=clnk

HERE is another Cache page from the AlterVista -

http://webcache.goog...+"hfanswer.zip"

(notice I searched on "hfanswer.zip")

HERE is the HFANSWER "defaults" File

http://web.archive.org/web/20071107184525/http://hfslip.org/files/X/HFANSWER.ZIP

Again, you will HAVE to dig a little, since I can't seem to access AlterVista site. If YOU can, have a look around. The answers are all there.

 

edit - Try this -

http://web.archive.o...p://hfslip.org/

-this- appears to be the LAST "good" one :unsure: -

http://web.archive.o...p://hfslip.org/

 

HTH

 

GIANT EDIT - I suppose that you should ALSO read the NEXT post. ;)

...and AAARGGG! Google Translate gives FITS so I used (ugh) Bing Translate for the German Link given (above). It says EXACTLY what is indicated - MAKE A SLIP PASS FOR EACH one-by-one, then create a NEW place to MAKE that CD according to instructions.


Edited by submix8c, 11 May 2014 - 12:27 PM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#10
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

If you read the reply I posted above, the MBOOTPATH was used to create a valid HFSLIP.CMD (and setting the HFSLIP and HFSLIPSVC variables) but relatively recently Acheron re-wrote that part of script:

http://www.msfn.org/...lation-bug-fix/

so that valid values are generated independently from the MBOOTPATH.

 

But since the beginning the HFSLIP is for SLIPstreaming, not for making a multiboot CD, if you prefer the MBOOTPATH was a way to prepare a slipstreamed source suitable to be later processed following one of the mentioned guides without further editing.

 

Like:

  • Several original sources+Gosh's or Fliakite's guide=Multiboot CD or AIO with original files
  • Several original sources, each slipstreamed with HFSLIP +Gosh's or Fliakite's guide=Multiboot CD or AIO with HFSLIPped files

Both guides use AFAICR, a pre-expanded $WIN_NT$.~BT for booting (which goes in the ROOT of the CD renamed to a 4 letter name that is hexedited into SETUPLDR.BIN and a "normal" \I386\ subdir, only, instead of this \I386\ being in ROOT, it is placed in the path to which SetupSourcePath is edited in txtsetup.inf).

 

I seem to remember how CDRPACK by Bart was also not aimed to make AIO's with various versions of NT systems (but I may well be wrong).

 

jaclaz

 

PS: Yes, now I remember, at the time I used Wincdman:

https://web.archive....tech-hints.com/

https://web.archive....es/wincdman.asp


Edited by jaclaz, 11 May 2014 - 12:11 PM.


#11
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

I want to thank everyone for their involvement with this thread.

 

Well I ended up modifying the hfslip script file to add the functionality that I want. The hardest part was figuring out how to modify the TXTSETUP.SIF file.

 

Now I'm trying to figure out how to modify the SETUPLDR.BIN which is a quite bit more tricky. lol

I'm trying to stick with CMD native commands without having to resort to using an .exe file to add to the HFTOOLS directory.

If anyone has any suggestions on doing such would be greatly appreciated.



#12
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Now I'm trying to figure out how to modify the SETUPLDR.BIN which is a quite bit more tricky. lol

I'm trying to stick with CMD native commands without having to resort to using an .exe file to add to the HFTOOLS directory.

If anyone has any suggestions on doing such would be greatly appreciated.

There is no way (with native commands) to modify a binary file if not using DEBUG.

Something that I would not advise to my worst enemy. :w00t:

Anyway:

http://thestarman.pc...ebug/debug2.htm

 

Since you will be doing a multiboot CD/DVD, IF I would decide to not use one of the many suitable command line third party tools I personally would use grub4dos as bootmanager and use it also to patch SETUPLDR.BIN, but it would add yet another layer of complexity (if the complexity of the *whatever* you are putting together would not have been enough :unsure:).

Or go back to the tradition and use BCDW, that if I recall correctly has a specific function for patching the setupldr.bin on-the-fly.

 

jaclaz



#13
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,546 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

XVI32...

http://www.handshake.de/user/chmaas/delphi/download/xvi32.zip

;)

HTH

 

edit - forgot to mention that it's used in -X- UDC script (xdot.tk) and it's downloaded with WGET and extracted using 7ZIP for use. Bear that in mind if you intend to "redistribute" your modified HFSLIP script. Of course, even that should be (maybe) disallowed unless explicit permission is given (unsure of whether there's any issues with that).


Edited by submix8c, 16 May 2014 - 10:13 AM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#14
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

@submix8c

 

JFYI, some reference:

http://www.911cd.net...showtopic=17504

 

gsar may be a valid replacement (it is GPL and redistributable):

http://home.online.no/~tjaberg/

 

and as well hexalter:
http://kuwanger.net/.../hexalter.shtml

if the addresses are known.

 

But these are still "third party" :ph34r:.

 

jaclaz



#15
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,546 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

Pshhh... HFSLIP is 3d Party too. :yes: AND also requires using 3d party tools in many cases.

http://hfslip.alterv...slip-basics.htm

http://hfslip.alterv...ip-advanced.htm

http://hfslip.alterv.../updatelist.htm

(ref HFTOOLS...)

 

Forgot all about "gsar" and as for the "other", you -may- need to use exact offsets for XVI32 ("freeware") as well. :unsure:

 

THX for the "other" HexEditor link.


Edited by submix8c, 16 May 2014 - 11:42 AM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#16
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

And, in case after all grub4dos will be used, this might come handy:

http://reboot.pro/to...ite-hex-values/

as a reference.

 

jaclaz



#17
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

I use XVI32 to manually modify binary files.

I ended up downloading a program called Swiss File Knife, which has many command line tools - including split and join.

 

Again, thanks for all the replies!



#18
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,546 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

That's fine, but XVI32 does work an Batch Mode as well. :yes: You DID read the "Help" File (CHM) didn't you? :unsure:

 

(the above hilite is so you'll know that I'm -not- trying to -force- you into anything. ;) )


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#19
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

How does one submit code to the creator of HFSLIP?

 

The code I written, praise God, is working awesomely!!!

The script requires you download a program called Swiss File Knife. Rename the .EXE to SFK.EXE and put it in the HFTOOLS directory.

 

Here is how it basically works:

 

1: You assign a directory name that you want all the OS setup files in (must be 4 characters) in the MBOOTPATH variable. Unlike the instructions given in the original script you don't include any backslashes - just the 4 characters.

2:The script, after the slip-streaming is done, then modifies the TXTSETUP.SIF and SETUPLDR.BIN files, creates your MBOOTPATH directory, copies the needed files into the root of your MBOOTPATH directory as well as of course the I386 directory itself.

 

3:You move your MBOOTPATH directory and the WIN51* files from the SOURCESS directory into the root directory of your multiboot/AIO.

4: You move the (4 character directory name).BIN file from the SOURCESS directory into what ever directory your multiboot/AIO method dictates you put your BOOT.BIN files at, and configure your multiboot/AIO method to use the file as the method dictates.

 

And that's it! No need to manually hex-edit any files.

I put all the code into a separate CMD file, which is called from the main HFSLIP***.CMD.

 

Thanks in advance.


Edited by JayMan, 22 May 2014 - 10:27 PM.


#20
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

How does one submit code to the creator of HFSLIP?

Normally you don't. :no:

You have before you a choice :w00t::

  1. share your batch publicly (by posting it here on the board as an example) :)
  2. keep it private :(

If #1, maybe one of the contributors of HFSLIP may notice it and decide to integrate it in HFSLIP, or add it to the available options of HFSLIP and host it on the HFSLIP site or decide that it is not suitable for integration and hosting, or decide that the idea is good but re-write your script, etc.

Notwithstanding what the good guys maintaining HFSLIP will do, if the batch is published, it can be used "as is" or merely as a source for inspiration by the next peep that will want to tweak *something* in the way HFSLIP builds a source.

 

If #2 the game ends earlier, actually right now, and your nice batch won't have any use if not the one you will use it for.

 

jaclaz

 

 



#21
JayMan

JayMan

    Member

  • Member
  • PipPip
  • 122 posts
  • Joined 21-September 10
  • OS:none specified
  • Country: Country Flag

OK, I will submit it here as directed.

 

To use this code you need to do the following:

1: Download the program called Swiss File Knife. Rename the .EXE to SFK.EXE and put it in the HFTOOLS directory.

2: Create a folder in your HFSLIP folder called "BrakSlip" (named after my favorite cartoon character, Brak).

3: Create a new file called "BrakBoot.cmd" and put the following code in it.

ECHO. BRAKBOOT - Processing Boot Folder
REM This function will modify the TXTSETUP.SIF,SETUPLDR.BIN and BOOT.BIN files, and copy the needed files into the main directory.
REM This is done in order to fascilitate the creation of a Multi-Boot CD.

IF NOT "%MBOOTPATH%"=="Default" (
  set counter=1
  FOR /F "tokens=1* delims=]" %%a in ('type "SOURCESS\I386\TXTSETUP.SIF" ^| find /V /N ""') do (
    if "%%b"=="SetupSourcePath = "\"" (ECHO>>SOURCESS\I386\TXTSETUP.WRK SetupSourcePath = "\%MBOOTPATH%\") else (
    if "%%b"=="" (echo.>>SOURCESS\I386\TXTSETUP.WRK) else (ECHO>>SOURCESS\I386\TXTSETUP.WRK %%b)
    )
    set /a counter+=1
  )
  DEL SOURCESS\I386\TXTSETUP.SIF
  REN SOURCESS\I386\TXTSETUP.WRK TXTSETUP.SIF

REM ###################################################################################################
  HFTOOLS\sfk split 246608b SOURCESS\I386\SETUPLDR.BIN setupldr.bin -yes&REN setupldr.bin.part1 split.wrk&REN setupldr.bin.part2 split.tmp.part9
  HFTOOLS\sfk split 246604b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.wrk&DEL split.wrk.part2
  HFTOOLS\sfk split 226813b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.wrk&REN split.wrk.part2 split.tmp.part7
  HFTOOLS\sfk split 226809b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.wrk&DEL split.wrk.part2
  HFTOOLS\sfk split 156971b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.wrk&REN split.wrk.part2 split.tmp.part5
  HFTOOLS\sfk split 156967b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.wrk&DEL split.wrk.part2
  HFTOOLS\sfk split 140926b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.wrk&REN split.wrk.part2 split.tmp.part3
  HFTOOLS\sfk split 140922b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.tmp.part1&DEL split.wrk.part2
  ECHO>>split.wrk %MBOOTPATH%&HFTOOLS\sfk split 4 split.wrk -yes&REN split.wrk.part1 split.tmp.part2&DEL split.wrk.part2&DEL split.wrk
  COPY split.tmp.part2 split.tmp.part4&COPY split.tmp.part2 split.tmp.part6&COPY split.tmp.part2 split.tmp.part8&HFTOOLS\sfk join split.tmp.part1
  DEL SOURCESS\I386\SETUPLDR.BIN
  MOVE split.tmp SOURCESS\I386\SETUPLDR.BIN
  DEL split.tmp.part1&DEL split.tmp.part2&DEL split.tmp.part3&DEL split.tmp.part4&DEL split.tmp.part5
  DEL split.tmp.part6&DEL split.tmp.part7&DEL split.tmp.part8&DEL split.tmp.part9
REM ###################################################################################################
  IF EXIST HFTOOLS\BOOT.BIN (
    HFTOOLS\sfk split 1177b HFTOOLS\BOOT.BIN boot.bin -yes&REN boot.bin.part1 split.wrk&REN boot.bin.part2 split.tmp.part3
    HFTOOLS\sfk split 1173b split.wrk -yes&DEL split.wrk&REN split.wrk.part1 split.tmp.part1&DEL split.wrk.part2
    ECHO>>split.wrk %MBOOTPATH%&HFTOOLS\sfk split 4 split.wrk -yes&REN split.wrk.part1 split.tmp.part2&DEL split.wrk.part2&DEL split.wrk
    HFTOOLS\sfk join split.tmp.part1
    MOVE split.tmp SOURCESS\%MBOOTPATH%.BIN 
    DEL split.tmp.part1&DEL split.tmp.part2&DEL split.tmp.part3
  )
REM ###################################################################################################

  MD SOURCESS\%MBOOTPATH%
  MD SOURCESS\%MBOOTPATH%\SYSTEM32

  MOVE SOURCESS\I386 SOURCESS\%MBOOTPATH%
  MOVE SOURCESS\$OEM$ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\WIN51 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\WIN51IP SOURCESS\%MBOOTPATH%
  COPY SOURCESS\WIN51IP.SP3 SOURCESS\%MBOOTPATH%

  COPY SOURCESS\%MBOOTPATH%\I386\system32 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\1394bus.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\A320MGT.CAT SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\A320MGT.INF SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\A320RAID.CAT SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\A320RAID.INF SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\A320RAID.SYS SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\A320RAID.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aac.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aac.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aac.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aac.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aaccin.dll SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aacevt.exe SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aacmgt.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aarich.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aarich.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aarich.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aarich.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\abp480n5.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\acpi.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\acpiec.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\adpu160m.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\afamgt.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\afamgt.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aha154x.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ahcix86.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ahcix86.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ahcix86.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aic78u2.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aic78xx.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aichmgt.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aichmgt.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\aliide.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\amsint.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\asc.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\asc3350p.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\asc3550.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\atapi.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\biosinfo.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\bootvid.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\c_1252.nl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\c_437.nl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cbidf2k.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cd20xrnt.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cdfs.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cdrom.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cerccin.dll SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cercmgt.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cercsr6.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cercsr6.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cercsr6.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cercsr6.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\classpnp.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cmdide.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\cpqarray.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\dac2w2k.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\dac960nt.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\delpseud.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\disk.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\disk101 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\disk102 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\disk103 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\disk104 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\dmboot.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\dmio.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\dmload.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\dpti2o.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\drvmain.sdb SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\fastfat.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\fdc.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\flpydisk.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ftdisk.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\hal.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\halaacpi.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\halacpi.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\halapic.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\hidclass.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\hidparse.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\hidusb.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\hpn.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\i2omgmt.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\i2omp.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\i8042prt.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\iaahci.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\iaahci.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\iastor.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\iastor.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\IaStor.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\IaStor.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\idecoi.dll SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ini910u.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\intelide.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\isapnp.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\kbdclass.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\kbdhid.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\kbdus.dll SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\kd1394.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\kdcom.dl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ksecdd.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\l_intl.nl_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\lbrtfdc.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\megasas.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\megasas.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\megasas.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\mof.mof SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\mountmgr.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\mpixp32.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\mraid35x.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nodev.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ntdetect.com SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ntfs.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ntkrnlmp.ex_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvata.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvgts.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvgts.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvgts.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvgts.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvide.nvu SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvraid.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvraidco.dll SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvrd32.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvrd32.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvrd32.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\nvrd32.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\oemsetup.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ohci1394.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\oprghdlr.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\partmgr.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\pci.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\pciide.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\pciidex.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\pcmcia.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\perc2.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\perc2hib.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\property.dll SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ql1080.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ql10wnt.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ql12160.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ql1240.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ql1280.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ramdisk.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sbp2port.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\scsiport.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\serenum.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\serial.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\setupdd.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\setupldr.bin SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\setupreg.hiv SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sfloppy.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sisraid.cat SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sisraid4.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sisraid4.pdb SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sisraid4.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sisraid4.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sparrow.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\spcmdcon.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\spddlang.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sym_hi.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\sym_u3.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\symc810.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\symc8xx.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\symmpi.inf SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\symmpi.sys SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\symmpi.x86 SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\tffsport.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\toside.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\txtsetup.sif SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\ultra.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbccgp.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbd.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbehci.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbhub.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbohci.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbport.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbstor.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\usbuhci.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\vga.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\vgaoem.fo_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\viaide.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\videoprt.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\winnt.sif SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\wmilib.sy_ SOURCESS\%MBOOTPATH%
  COPY SOURCESS\%MBOOTPATH%\I386\SYSTEM32\ntdll.dll SOURCESS\%MBOOTPATH%\SYSTEM32
  COPY SOURCESS\%MBOOTPATH%\I386\SYSTEM32\smss.exe SOURCESS\%MBOOTPATH%\SYSTEM32
)

4: Edit the main HFSLIP***.cmd find the line in the file that has "TITLE %T1% - Slipstreaming Complete" and put BEFORE the "CLS" above it the line "IF EXIST BRAKSLIP\BRAKBOOT.CMD CALL BRAKSLIP\BRAKBOOT.CMD". That section of the HFSLIP***.cmd should end up looking like this:

CALL :ERRORREPORT
IF NOT "%NOLOGCOPY%"=="1" COPY HFSLIP.LOG SOURCESS >NUL
CALL :MAKEISO
IF EXIST BRAKSLIP\BRAKSLIP.CMD CALL BRAKSLIP\BRAKSLIP.CMD
CLS
TITLE %T1% - Slipstreaming Complete
ECHO.&ECHO All hotfixes integrated into a folder called SOURCESS.
ECHO.&ECHO Remember to reboot your machine after installing
ECHO from the SOURCESS folder.
echo.&echo *******HFSLIP is for PERSONAL use******  
echo.&echo If you like HFSLIP, do not forget to donate.  

CALL :TIMECALC&PAUSE&EXIT

And that's it. Now to use it either put the value for MBOOTPATH in the HFANSWER.INI file, or type it when prompted by the main script.

And again, only give the 4-character folder name - no slashes despite the fact that the main script directs you to do so.


Edited by JayMan, 22 May 2014 - 10:26 PM.


#22
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,915 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag

You should probably add code to strip any slashes from MBOOTPATH prior to the [ IF NOT "%MBOOTPATH%"=="Default" ] statement and use that in a local variable in your code instead of MBOOTPATH.  That way it should work regardless if the user includes slashes or not.  Just a thought.
 
And isn't there some way to do all of your
 
COPY SOURCESS\%MBOOTPATH%\I386\system32 SOURCESS\%MBOOTPATH%
...
COPY SOURCESS\%MBOOTPATH%\I386\wmilib.sy_ SOURCESS\%MBOOTPATH%

without having to list each individual file hard coded in your code? If it can't be done via a DIR with maybe some IF statements in a FOR loop, then at least it could be done by listing all the files you want copied in a .txt file and read it and do the copy in a FOR loop. I'm just trying to think of ways to simplify/generalize the code and make it easier to modify and maintain.  And for that matter, I guess I'm not clear why all those files need to be in both SOURCESS\%MBOOTPATH%\I386\ and SOURCESS\%MBOOTPATH%\.

And, just for my own understanding, would you please explain, in plain words, what the two steps of patching SETUPLDR.BIN and BOOT.BIN are doing? TIA

 

NOTE:  If it's not obvious, it's been awhile since I've used HFSLIP.  Sorry for the noob questions. :)

Cheers and Regards


Posted Image


#23
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,201 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

I am failing to see the actual need to do the splitting and rejoining of the files. :unsure:

 

IF (as I understand it) you do all that work to just replace a few bytes in the files, as posted in number #14 gsar or hexalter are much easier, faster and need not temporary files. 

 

jaclaz



#24
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,023 posts
  • Joined 29-September 05

without having to list each individual file hard coded in your code?

Yes, this is possile.
Actually there are predefined names ntdetect.com, setupldr.bin, txtsetup.sif and folder I386. win51* is referenced in txtsetup.sif.

Another approach: configure BootPath and do not copy further boot files.
http://www.msfn.org/...or/#entry911471
http://www.msfn.org/...vd/#entry814566
http://www.msfn.org/...vd/#entry893775


Either copy files
.\XP32\I386\*
.\XP32\NTDETECT.COM
.\XP32\SETUPLDR.BIN
.\XP32\TXTSETUP.SIF

Or rename files at I386 folder. Hexedit setupldr.bin according.
.\XP32\I386\*
.\XP32\I386\XP_.COM
.\XP32\I386\XP_.BIN
.\XP32\I386\XP_.SIF
 

to just replace a few bytes in the files, as posted in number #14 gsar or hexalter are much easier

Yes, that's true.
The links refers a gsar example and a grub4dos example.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users