Jump to content











Photo

Unattended and Customized (part+02


  • Please log in to reply
1 reply to this topic

#1 Shirin Zaban

Shirin Zaban

    Frequent Member

  • Tutorial Writer
  • 423 posts
  • Location:Tehran
  • Interests:1_Making Unattended and Customized XP<br /><br />2_Making different types of Bootable and Multiboot CD/DVD<br /><br />3_Like to learn more about grub and grub4DOS
  •  
    Iran

Posted 29 January 2009 - 06:02 PM

=============================================================================
Unattended and Customized Windows XPCD (Part_02)
=============================================================================

HI

In part_01 (Link below)we have learned to customize "setup.exe".

http://www.boot-land...?showtopic=6861

know we are going to make more
customization in XPCD files,but befor going through this part of tutor,make a directory
by the name of "XPCD" some where for example in c: (C:\XPCD),and copy all contents of
your XP_sp2 setup CD on it.Then after making changes on any file as i describe in tutors,
replace them by the ones in this directory.So until now you can replace your made
"setup.exe" in part_01 by C:\XPCD\setup.exe in my example.


-----------------------------------------------------
Step_(3) Modifying and compressing Edited Files
-----------------------------------------------------


This step is very important in Making Customized XPCD.Note that "setup process" of XP checks
all the files of XP setup CD during setup,and if it find a file that is not origional,the
setup gives error.and the setup process will not copy changed file,and even will not continu
the setup.

So what we should do?

Overcoming this problem is very easy.In lines below i describe what to do for an example file
and you should do the same process for all other files that you have changed them.

Note that from now on i will just describe how to edit a file and i will not reapet the process
of modifying and compressing them.

For example we have edited "shell32.dll" and we have placed it in C:\xxx\ directory we do as below:

1_Download "ModifyPE.exe" from Needs.zip in attachment and copy that to your ...\windows\system32\
directory.

2_Open a command prompt ,go to c:\xxx\ directory, and execute the following command:

modifyPE.exe shell32.dll -c

by this command the edited file will be as origional.

3.Now we should compress this file so we execute the following command:

makecab shell32.dll

Thats all,you will have "shell32.dl_" at C:\xxx\ directory and you can replace this file with
origional file from XPCD.

-----------------------------------------------------
Step_(4) Changing some images inside I386 directory
-----------------------------------------------------


When we install windows XP,we encounter by several images on it,that normally we do not
like these ugly images and we would like to have our favorite pictures.for example Bliss,bmp
(the wall paper that we see after installing windows XP as desktop wallpaper).

Now we are going to change this pictures in our XPCD,just note that i will explain changing
one picture,and you can replace all others as i do by this one.

JPG images that we can change are:
===================================

ASCENT.JPG AUTUMN.JPG AZUL.JPG BLISS.JPG BLUEHILL.JPG CRYSTAL.JPG
FOLLOW.JPG FRIEND.JPG HOME.JPG MOON.JPG MSLOGO.JPG NEWMARK1.JPG
NEWMARK8.JPG PEACE.JPG POWER.JPG PURPLEF.JPG RADIANCE.JPG REDMOON.JPG
RIPPLE.JPG STONEH.jpg SUNSET.jpg TULIPS.JPG VORTEC.jpg WATERLIL.JPG
WIND.JPG WINTER.JPG WINXP.JPG WPABACK.JPG

BMP images that we can change are:
=====================================

airplane.BMP astronaut.BMP ball.BMP beach.BMP blulac16.BMP bubbles.BMP
butterfly.BMP car.BMP cat.BMP chess.BMP coffeebn.BMP dirtbike.BMP
dog.BMP drip.bmp duck.BMP feather.BMP fish.BMP frog.BMP
gonefish.BMP grnstone.BMP horses.BMP kick.BMP lift-off.BMP
palmtree.BMP pinkflower.BMP redflower.BMP rhody.BMP rvrsumid.BMP santafe.BMP
setup_w.bmp skater.BMP snowflake.BMP win32pro.bmp zapotec.BMP

Notes:
--------

1.May be i have forgotten some other images.

2.All these images are placed in C:\XPCD\I386\ directory

3.All these images are in Microsoft compressed format in XPCD,for example ,"BLISS.JPG" is as
"BLISS.JP_" and "horses.BMP" is in "horses.BM_" format.if you want to see and edit them you
can open and see them by winrar.

For replacing pictures above (if you changed them) ,with our favorite ones we should compress
them in microsoft compression format.For this purpose we use "makecab" command as i descibed
in step_03 .Then ypu should replace all of them with ones in C:\XPCD\I386\ directory.


Note:
-------
Because we have alot of images here, It is better to Do cab process by a bath file,for example
i placed all JPG images in C:\ then i run Make.cmd (get from attachment) from desktop.After a
while all of them get CABED and were in my desktop.

-----------------------------------------------------------------
Step_(5) Customing Boot screen,shutdown logo and welcome screen
-----------------------------------------------------------------

Read my tutor about these topics at links below.

for Boot Screen:

http://www.boot-land...?showtopic=4448

for shutdown logo :

http://www.boot-land...?showtopic=4538

for changing welcome screen:

http://www.boot-land...?showtopic=4652

-----------------------------------------------------
Step_(6) Injecting XPCD serial number
-----------------------------------------------------


we can use winnt.sif to make setup to not ask serial number,but in this methode ,it will be
automated when you setup by booting by XPCD,and if you want to setup from inside windows
it will ask for serial.
I have talked about a little hard way to overcom this problem.,in link below:

http://www.boot-land...?showtopic=4757

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x

Untill another part

have nice times

shirin zaban


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx

Attached Files



#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4172 posts

Posted 30 January 2009 - 07:02 AM

Thanks for the tutorial. Sugest linking to the first part.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users