Jump to content

BartPE to WinPE


x86
 Share

Recommended Posts


I don't mean to answer with a question but,

does anybody know how to integrate an .inf into the winpe build process?

I have converted some Bartpe infs manually but I only know how to integrate the registry build (by putting entries into the winpe inf files such as winpesys.inf used to buld HKLM\System).

What I need to know is how to integrate the file copy process. Right now i am copying the files manually.

Link to comment
Share on other sites

Could you elaborate a little? I know how to use the config.inf to add to the registry. Are you suggesting to add to the extra.inf.(that may cause some problems, or result in a very long extra.inf,

Or do you think the extra.inf could be used as a pinter to other inf files somehow.

I just don't see how.

Link to comment
Share on other sites

Could you elaborate a little?  I know how to use the config.inf to add to the registry. Are you suggesting to add to the extra.inf.(that may cause some problems, or result in a very long extra.inf,

Or do you think the extra.inf could be used as a pinter to other inf files somehow.

I just don't see how.

Well I wrote a program to process other inf files and build the results into extra.inf and config.inf then when you go to build the structure and the hives, everything is perfect. Other than doing it that way, i suppose you could just add all that stuff into the extra.inf manually. But, as you said... It would be huge.

As for pointing to external inf files, you can do that in config.inf for the hives.. but i dont know of a method for extra.inf

Link to comment
Share on other sites

could you post it? it would be a great help. I wrote a vbs script to convert the registry part of bartpe inf files but I was unable to figure out how to integrate the sourcediskfiles sections. If I could look at how you do it... maybe I could figure out the soucedisk files conversion.

anyway I only know a little vb. if its in some other code it may take me longer to figure out how it works, but I think I can do it.

the way I use the config.inf is by making pointers to three inf files that hold the keys for hkcu, hklm/software and hklm/system. i have never used sam and security but I don't think it is any different. the registry sections get sorted and copied to the appropriate file at build time, then mkimg.cmd gets called and you know the rest. I use a batch file process to copy the files for the iso structure since I couldn't figure out how to do it through the inf process.

I use this method to keep stuff separate. like pluggins. makes it so much easier to work with programs. I imagine it must be hell to work with an iso structure directly(I got away from it quick). If something fails there is no easy way to undo the work. thats why I like my method, you just add a line to the batch file to integrate the plugin and if it works great, if it doesn't I can easily modify it or remove it.

we may be on our way to automation here :)

Link to comment
Share on other sites

Sure, let me clean up the code first. btw its in vb, and i doubt you will need to change anything, because its basically a plugin tool for MS winpe.

Link to comment
Share on other sites

  • 5 weeks later...

No

to my knowledge X86 never posted the code anywhere or provided a link to his program or script. He didn't specify how to add to the file copy process ether so... I'm stuck :)

Link to comment
Share on other sites

I am basically making an tool to allow various types of plugins to work with winpe and bartpe, before and/or after the build process. Also this tool will allow you to build a custom winpe from your xp cd, basically like bartpe but better :)

The tool also give you the option of what software to include from the xp cd.

I'm about 90% done, i just have a few UI and registry things to add.

I've already sucessfully used bartpe plugins with winpe, built a nearly full version of xp with nothing other than my tool and a xp cd, and built a mock of bartpe.

If you have any questions, feel free to email.

Link to comment
Share on other sites

@x86

That's really good news, I always struggled with BartPE to have good language support, but using WinPE, it's just adding your languahe group ID.

Is there a due date for this?

piro

Link to comment
Share on other sites

Theres not really a due date set, but its only taken me a month to get from 0 to around 90% so i guess you could go off of that.

If anyone has any feature requests, let me know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...