Jump to content

Recommended Posts

Posted

Um, yeah, I don't have an OPK license or whatever it is you need, so I'll go for BartPE. I know this forum is called Windows PE, but heck, there's no BartPE forum, and this was the closest call, right? :)

OK, onto the question. I want to do something similar to what Vann is doing in this post. The problem is, however, after searching and searching for a while, I could not find anywhere, how to configure BartPE to suit my needs, so I figured I'd go ask instead. Bad practice, sure, but hey, I did search first. All I really need to do is to get BartPE to use the install.bat file as mentioned in that post instead of the nu2menu, which is standard in BartPE. Vann said he's done it, so it's gotta be possible, I just can't figure out how. Vann, if you're reading this, please be kind and share your method.. and you others, if you know how, I'd be glad to hear it from you too.

TIA,

DarkPhoenix


Posted

I assume you already created a plugin directory for your install.bat, so all you need to add to the .inf is this:

[SetupReg.AddReg]
0x1, "Setup", "CmdLine", "\Programs\example\install.bat"

This is how nu2menu gets started normally. I did not test it with a batchfile yet, so you may need to use cmd.exe like this:

[SetupReg.AddReg]
0x1, "Setup", "CmdLine", "cmd.exe /s \Programs\example\install.bat"

If in doubt, copy the original nu2menu.inf over to your new directory and change it accordingly, it is small and pretty self explanatory.

NOTE: You have to comment out the last line in the nu2menu.inf, or it will override your plugin:

[SetupReg.AddReg]
; Install nu2menu.exe as shell
;0x1, "Setup", "CmdLine", "\Programs\Nu2Menu\nu2menu.exe"

--

Pyron

Posted

Yeah, it works, it diskparts my partitions correctly, and then formats them. My only worry is how it'll go when I begin involving the XP installation... since I have a C: disk, a P: disk and an S: disk for different purposes.

Posted

i want to do is partiton a drive, only before 2003 server

i have everything working (thnks to Pyron)except how to get it partitioned before i load windows. can you help??

NOT sure where to start or where to put files?

i have an unattend CD that I can load drivers before windows to see SCSI/SATA HDDs, apps from runonce (winnt.sif) after 1st login but can't seem to get the partition part.......

Also i'm getting an error in Bart's PE, can't find setupldr.bin but its in the i386 folder i'm pointing to?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...