Help - Search - Members - Calendar
Full Version: [project] uxp
MSFN Forums > Unattended Windows Discussion & Support > Multi-Boot CD/DVDs
Pages: 1, 2

   


Google Internet Forums Unattended CD/DVD Guide
Nuno Brito
uxpbeta


This project will create a customized multiboot XP Install DVD.


Steps that were automated:
  • Copy all files from a Windows Source onto to a target folder
  • Add BCDW to be used a multiboot manager
  • Create in unattended mode a 5Mb sized WinRoot project and add to target folder
  • Create in unattended mode a full sized 300Mb LiveXP project and add to target folder
  • Process nLite addons found inside a sub-folder and attach them to a nLite profile
  • Process WUD (Windows Updates Downloader) update files and attach them to the nLite profile
  • Launch unattended nLite and customize the Windows source found on the target folder
  • Launch DriverPacks and silently add all selected driverpacks inside the target folder windows folder.
  • Create a ISO with mkisofs
  • Launch this ISO image with VirtualBox
  • Burn ISO image on DVD



Requirements:
  • nLite is not included and should be installed on your computer before running this project
  • Spaces in path name are not fully supported - use a simple path like "c:\uxp" for example
  • You need a maximum of 4Gb disk space free on disk.
  • Windows XP SP2 PRO Install CD or files copied to a folder on disk
  • If running under Vista you need to disable UAC to build this project.
Download page:
http://winbuilder.net/download.php?view.24


A full step-by-step gallery of screenshots can be found here:
http://winbuilder.net/e107_plugins/autogal...=Projects/uxp




Possible bugs:
  • It seems that the FileCopy command is not working correctly on the first script under some conditions (Projects\uxp\Basic\2-CopyFiles.script) - solution - manually copy your Windows CD files to the target folder



    ---------------------------------
  • I hadn't tested on a folder with spaces on path name before uploading so it might be buggy - solution - use a path like "c:\uxp"

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




This project will take around 30~50 minutes until it is completed - all steps should be done in complete unattended mode without requiring any user interaction.

- Initial boot screen


- LiveXP environment


- Windows XP Install



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


If needed - each script can be executed individually by pressing on the "green" play button

The download package is sized in nearly 600Mb because it includes all driverpacks available and around 300Mb worth of freeware applications - it wasn't meant to be light - just a big and heavy XP install that I could use for everyday OS install on new machines without need to worry about drivers or installing some of my favourite programs.



List of included addons (programs that are installed when the XP setup is running):
  • ProgramAddons Ccleaner_201.cab
  • ProgramAddons DriveImage XML 1.21.cab
  • ProgramAddons FileZilla 3.0.4.1.cab
  • ProgramAddons Firefox 2.0.0.11.cab
  • ProgramAddons Java Runtime Environment 6 Update 3.cab
  • ProgramAddons Notepadplus 4.6.cab
  • ProgramAddons OpenOffice 2.3.0.cab
  • ProgramAddons PuTTY 0.60.cab
  • ProgramAddons QT_Alt-211.cab
  • ProgramAddons RealVNC 4.1.2.cab
  • ProgramAddons Recuva 1.06.132.cab
  • ProgramAddons Spybot Search _ Destroy 1.5.cab
  • ProgramAddons Tiny Hexer 1.8.1.6.cab
  • ProgramAddons TUGZip 3.4.0.2.cab
  • ProgramAddons Unlocker185.cab
  • XPizeDarkside21.exe
  • XP_Codec_Pack-232.cab
This project allowed me to build a 1,4Gb XP Install DVD that I burned onto a 8cm mini-DVD/rw and carry everywhere to use whenever needed.


Please remember that this is the initial beta release and I would really appreciate any feedback regarding this project in order to make things work better - thank you in advance for your comments about it.

smile.gif
Nuno Brito
Has this project worked as expected?

Can I remove the beta label?

Thanks! smile.gif
UtCollector
Hi nuno,

I look forward testing you're new winbuilder project.
You do build amazing things. Usefull to thumbup.gif
benxhi
I'm downloading files now to test it biggrin.gif
benxhi
Just tested It and Works PERFECTLY however how can i add other OS ?
Nuno Brito
Hi benxhi, glad to hear it worked good on your computer.

Which OS do wish to include?

The multboot section is handled by BCDW and you can edit BCDW.ini in order to include other OS's and then re-create a new ISO (you open the "finish" folder and run the script called "Create ISO")

The documentation for BCDW provides a lot of examples to quickly learn how to use it.

---------

If you wish to automate this step then you can write a script to automatically add another OS when building a fresh image.

One of the multiboot options is WinRoot (the XP sized on 5Mb), take a look on the script - I'll mark on red what needs to be modified to match the values of the OS you wish to use:
QUOTE
[main]
Title=WinRoot
Description=Add a liveCD sized in 5Mb that starts in Windows NCLI mode (Native Command Line Interface)
Selected=True
Level=2
Version=1
Date=2007-NOV-28
Author=Boot land community
Contact=http://boot-land.net/forums
Download_Level=1
// %liveCD% can only have 4 characters

[variables]
%liveCD%=Root
%project_folder%=WinRoot

[process]
FileRename,"%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\I386","%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\%liveCD%"
If,ExistFile,"%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\bootsect.bin",FileDelete,"%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\bootsect.bin"
Echo,"Copy all files to our target directory"
FileCopy,"%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\*.*","%targetdir%\","Show"
Echo,"Restore older original folder name"
FileRename,"%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\%livecd%","%basedir%\Projects\MultiBoot\%project_folder%\Target\%project_folder%\I386"
//
run,%scriptfile%,add_multiboot

[add_multiboot]
// Was BCDW processed before?
If,NotExistFile,%targetdir%\BCDW\bcdw.ini,Exec,%ProjectDir%\Basic\3-MultiBoot-BCDW.script,process
// Ensure we don't repeat the same step so delete any previous entries
TXTReplace,"%targetdir%\BCDW\bcdw.ini","\%liveCD%\setupldr.bin ; %project_folder%",""
TXTAddLine,"%targetdir%\BCDW\bcdw.ini","\%liveCD%\setupldr.bin ; %project_folder%","Append"


The above script will copy the contents of a folder called "WinRoot" (you can change this name to something else) inside the multiboot folder to the root of your image then it will write setupldr.bin to bcdw.ini

It can be used to include other Windows XP / 2003 Install CD's/Boot Disks.

smile.gif
benxhi
Thanks biggrin.gif

Just added Linux biggrin.gif
Nuno Brito
Those are good news, which distro of linux?

I probably can include it as default on the next release.

smile.gif
benxhi
I included Kubuntu 7.10 but to make things more lightweight you can add Puppy Linux Or DSL biggrin.gif (dsl=D@mn Small Linux)
Nuno Brito
QUOTE (benxhi @ Mar 10 2008, 09:42 AM) *
I included Kubuntu 7.10 but to make things more lightweight you can add Puppy Linux Or DSL biggrin.gif (dsl=D@mn Small Linux)


Will do so! smile.gif
benxhi
Oh and Puppy Linux and DSl can also be used as recovery tools biggrin.gif

oh and why don't you add WPI ?
I will post links if necessary.
Nuno Brito
QUOTE (benxhi @ Mar 10 2008, 06:27 PM) *
oh and why don't you add WPI ?
I will post links if necessary.


That would be great, post the links to other tools you like and I'll see how to add them next.. smile.gif
benxhi
Well looks like I made a mistake with my last ISO biggrin.gif i forgot to check the make boot CD wizard and the ISO wasn't right just fixed it biggrin.gif

I do not seem to be able to create a new script sad.gif it has no location!)
Nuno Brito
You can make a copy of an already existent script and then modify it with notepad or any other text editor.

The only important value to change is the "title" inside the [main] section.

Example:
CODE
[main]
Title=My Program
Description=my Program will be added on the project
Selected=True
Level=5
Version=1




---

One other way is clicking inside wb: Advanced --> Create new script

But the above tool is meant for app scripts: http://www.boot-land.net/forums/Creating-a...ript-t2665.html

App scripts add programs on the LiveXP, VistaPE or any other projects that understand that script language. It works a bit like addons for nLite but specific to boot disks.

smile.gif
benxhi
I make addons for nlite for myself but i understand now thanks smile.gif

N00b question : When is the new version going to be ready for download ?
Nuno Brito
Maybe in a couple of days, I'm also working on another project at the same time but luckily they are both connected.

smile.gif
benxhi
OH and what do you think to add a script that can make the emulation not in qemu or in virtualbox but in VMware ?
kmaheshkumar
very good
Nuno Brito
QUOTE (benxhi @ Mar 11 2008, 07:34 AM) *
OH and what do you think to add a script that can make the emulation not in qemu or in virtualbox but in VMware ?


booty#1 has already created a script for vmware, download it here: http://www.nativeex.boot-land.net/nativeEx...n/VMWare.script

Use right-click on the link and choose "Save link as.." to download the script.

It can be placed on the "Finish" folder, then open up wb to select it as default emulator.

vmware needs to be previously installed on your machine before running this script.

smile.gif
benxhi
Great thanks biggrin.gif i will format this week my PC into Vista cuz my D partition is running low so ill have to shrink some space and then again reformat into XP and so cuz D is 150 GB and C is 100 I will have to reformat fo fit my partitions cuz i have needed data and so i better use Vista to do such things . going to post asap.
benxhi
I didnt even format cuz i just deleted some unused crap and done biggrin.gif
benxhi
which software is going to be put in the nest release ?
Nuno Brito
QUOTE (benxhi @ Mar 13 2008, 10:21 AM) *
which software is going to be put in the next release ?


WPI is nearly ready, I'm already finishing the batch converter from nlite addons to wpi packages to allow on the fly conversion of all nlite addons and replace nlite with WPI on this function.

I've asked license to vmware to include their free vmware player inside the next distro but still haven't received any reply from their part.

There is also RyanVM but I haven't (yet) started testing it.

As for nlite addons included, so far we have these: http://xp.winbuilder.net/uxp/nLite/Addons/ but more freeware software can be added - I remember that kmplayer might be a good option.

Do you know any other interesting tools to include? smile.gif
Kelsenellenelvian
WPI is a go as long as you can keep up with the releases (Not too many of those in the foresee-able future) and you keep me abreast of any neat mods or changes that can be implemented in WPI.
Nuno Brito
QUOTE (Kelsenellenelvian @ Mar 13 2008, 10:46 AM) *
WPI is a go as long as you can keep up with the releases (Not too many of those in the foresee-able future) and you keep me abreast of any neat mods or changes that can be implemented in WPI.


Thank you!! thumbup.gif


Is there any converter of nlite addons to WPI?

My intention is to replace the addon integration feature of nLite and use WPI to handle programs installs.

--

So far, I've made a small program to find all cab files inside a addon folder and properly batch convert them into the install folder and add the respective entries and switches on the config.js file.

This way people won't need to manually add all their addons on WPI.hta and will be allowed to customize these entries as required.

I can continue improving it and release here as a standalone tool for more generic use if no such tool exists yet, please do let me know.

smile.gif
Kelsenellenelvian
No there currently is not a converter.
benxhi
As Kelsenellenelvian said there is no converter however if you wish i can make you a config.js to fit all the software biggrin.gif the ones from the link you provided i can make a config.js and you can add the by only placing config.js and making the paths right.

And you than can make a script in order people to select what they need.
tum0r
this is a truly amazing program......thanks!!!
Nuno Brito
QUOTE (benxhi @ Mar 13 2008, 07:17 PM) *
And you than can make a script in order people to select what they need.



Ok, will start working on this goal.. smile.gif
benxhi
I noticed that you have a logo of a cd so i thought to make you a web 2.0 logo do i have the permission to do so ?
Nuno Brito
QUOTE (benxhi @ Mar 15 2008, 03:29 PM) *
I noticed that you have a logo of a cd so i thought to make you a web 2.0 logo do i have the permission to do so ?


Permission?

You have my blessing! thumbup.gif

Funny you mention this as I've already asked a member on boot land a few days ago if he would be available to make a small logo for uxp.

Look here: http://www.boot-land.net/forums/Artwork-lo...-UXP-t4141.html

Would be really nice to replace the winbuilder logo by an UXP one.

smile.gif
benxhi
Ok here's the link to the logo I made ! :
http://img89.imageshack.us/img89/6434/uxplogojd6.png


Like it? i don't know to make anything better sad.gif thats only thing i can make however the image is ok when seen in WinBuilder!

Everything went fine and there was no problem in the running of the script as always but when it came to nlite it didn't detect any i386 folder so i manualy copied it ! why didn't the script copy the i386 folder that is what I am wondering .
Nuno Brito
I like the new logo, could you make the UXP title a bit bigger?

QUOTE (benxhi @ Mar 16 2008, 09:41 AM) *
Everything went fine and there was no problem in the running of the script as always but when it came to nlite it didn't detect any i386 folder so i manualy copied it ! why didn't the script copy the i386 folder that is what I am wondering .


Hmm..

What are the paths you're using?

Can you post your log.html file here?

(Open the log tab after building the projects and click on save log)


This might help to understand why it isn't copying the I386 folder correctly.


Thank you for this artwork!

smile.gif
benxhi
Ok re running the script and than posting the log !

ok here's the log.html:Click to view attachment

No need for you to debug i just fixed it myself biggrin.gif
i just edited the 2-copyfiles.script biggrin.gif
in the string that says :
FileCopy,"%SourceDir%\*.*","%Targetdir%\",show
i just added this
FileCopy,"%SourceDir%\i386\*.*","%Targetdir%\",show

Small Mistake !
change the %targetdir%\ to %Targetdir%\i386\

Nope still not working will try with a simple Path now!

About the artwork .. i have made it as you asked the title is a little more bigger just going to upload later sad.gif i can't now !

Not eben working now even with the first method sad.gif
benxhi
I manually do it!
Nuno Brito
QUOTE (benxhi @ Mar 16 2008, 10:12 PM) *
I manually do it!



Hi benxhi!

Please try placing the UXP project on a shorter folder like "c:\UXP"

Looking on the log it also seems that you have disabled the last scripts on your project that used nLite and also the scripts on the "Finish" folder which would build the ISO image.

smile.gif
tum0r
i love this project, first off. but i can not get a working livexp......
Nuno Brito
QUOTE (tum0r @ Mar 17 2008, 06:49 AM) *
i love this project, first off. but i can not get a working livexp......


Hi!

What is the path where your UXP project is placed?

In case of doubt, please post the log.html file.

smile.gif
benxhi
MM i didn't need a iso biggrin.gif if I would need one i would check it so i make isos only when i run the things on VM ! biggrin.gif
tum0r
QUOTE (Nuno Brito @ Mar 17 2008, 05:17 AM) *
QUOTE (tum0r @ Mar 17 2008, 06:49 AM) *
i love this project, first off. but i can not get a working livexp......


Hi!

What is the path where your UXP project is placed?

In case of doubt, please post the log.html file.

smile.gif


hey nuno,
these are the 3 errors i get everytime:


[Failed] CopyExpand - Failed to expand file: [C:\uxp\Target\uxp\I386\MNMDD.SYS] to: [%BaseDir%\Target\LiveXP\I386\System32\drivers]
[Failed] Expand - Failed to expand file: [C:\uxp\Target\uxp\i386\msgsvc.dl_] to: [%BaseDir%\Target\LiveXP\i386\system32]
[Failed] Expand - Failed to expand file: [C:\uxp\Target\uxp\i386\net.hl_] to: [%BaseDir%\Target\LiveXP\i386\system32]

when i run the livexp, i get lsass.exe errors.....
Nuno Brito
hmm.. So I'm assuming that UXP is built fine but LiveXP is not.


The files inside that LiveXP version have grow outdated as Galapo has been introducing a lot of modifications and improvements to that project.

Do like this:
  1. Download the latest WinBuilder.exe binary --> http://winbuilder.net/download.php?list.3
  2. Place it on a empty folder and run WinBuilder.exe
  3. Go to the Download Center and uncheck all servers except LiveXP (to only download LiveXP project files)
  4. After dowload is concluded, wb should restart itself and you should press the Play button (big blue button)


This should give you a good LiveXP project - if you wish - replace the old LiveXP files inside the c:\uxp\Projects\MultiBoot\LiveXP folder with your newer version.

If something is still not working as expected, do mention it and we'll figure it out.. smile.gif
tum0r
still getting the same 3 errors. i've tried expanding and copying those 3 files manually to my livexp source, then replacing the livexp in uxp, but still no luck.

is there another process to creating a livexp that i could try?
tum0r
after running winbuilder .74 on an untouched SP2 source, i finally got a working liveXP. i was originally trying to use my modded sources, one an SP3 and the other a fully updated SP2. so i'm trying to figure out what updates are interfereing with the liveXP build progress......? and can it be updated to use a SP3 source at some point?
Nuno Brito
Glad you've found the solution!

Modified XP sources are known for erratic behavior as it is a bit unpredictable to know exactly what has been removed or added to them.

It should be possible to test the new service pack.

Post a request for SP3 support here:
http://www.boot-land.net/forums/nativeEx-and-LiveXP-f52.html

smile.gif
tum0r
how can i manually add my livexp back into my build without using uxp? i'm using uxp on a sp2 source to get a working livexp. then i'm nliting my source to sp3. but when i test it, the livexp option is gone.....does the livexp share i386 files with the regular build?
benxhi
I didn't try the SP3 cuz it's in RC (release candidate) and also you need to install nlite 1.4.5 beta 2 or any newer so that you'll be available to slpistream SP3 .
hope to have been of any help .
@ Nuno Brito
I'll upload the artwork today biggrin.gif
Nuno Brito
I'll explain some of the steps that are done on UXP.

  1. Copy the source windows install files to a target folder



  2. Create a liveXP based on the source windows install files



  3. Run nLite on the windows install files placed on the target folder


UXP will create a copy of your original source files to a target and will let nLite modify the target files.
LiveXP is built using the source files and won't modify them.

QUOTE
how can i manually add my livexp back into my build without using uxp?


I advice you to use UXP to automate this step otherwise you need to manually rename the I386 folder created by LiveXP as "myXP" and copy all files inside the target folder of liveXP onto the target folder of UXP.

The script that automates these steps is here: http://xp.winbuilder.net/uxp/MultiBoot/xp-liveCD.script

You rename the liveXP I386 folder to avoid overwritting the Windows Install files on the UXP target.

----

Personally, I think that the cleanest way to do this action is simply overwriting your liveXP project inside UXP with the new one that you're using and prefer.

You find your old LiveXP files inside the %basedir%\Projects\MultiBoot\LiveXP

%basedir% is the folder where winbuilder.exe is placed.


--------

benxhi: thank you!! smile.gif
benxhi
Here is the new Logo!


Better ?
Here is the direct link:
http://i27.tinypic.com/swbiio.jpg
Nuno Brito
Cool!! thumbup.gif

Great work, will be included on the next version for sure! yes.gif
benxhi
Did you put the linux thing in ?
Just askin' newwink.gif
Thanks for this perfect Project




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.