Board logo

Subject: Little Angel Tutorial 1Aii - How to further customize your system image [Print This Page]

Author: windrv    Time: 21-11-2008 15:54     Subject: Little Angel Tutorial 1Aii - How to further customize your system image

After following steps of auto-building a mini system image as described at:

http://windrv.net/viewthread.php?tid=327&extra=page%3D1

You would perhaps like to further add other system files to make it more useful.

Initially, the automake.cfg file has just an empty automake.txt file.

To add more files to be included into the system image, you could put the filenames into automake.txt or into other .txt or .cfg files as described at #5 in the thread link above.

The automake.cfg file now contains the following entries:

automake.txt
storage.txt
usbstor.txt
vshadow.txt
ie.txt
flash.txt
msi.txt
dsound.txt
sundry.txt
cpl.cfg

The system files for each of these components are found out by following the steps below.

Take ie.txt (including filenames accessed when using Internet Explorer) as an example:

1. boot up your windows system to run on hard disk

2. wait for 2 or 3 minutes to let the system to settle down

3. run up la.exe

Attachment: 001.jpg (21-11-2008 16:04, 49.73 K) / Download count 0
http://windrv.net/attachment.php?aid=208
Author: windrv    Time: 21-11-2008 16:05

After double-clicking on la.exe, you are asked if you want to auto-build system image in the screen below:

Attachment: 002.jpg (21-11-2008 16:05, 6.46 K) / Download count 0
http://windrv.net/attachment.php?aid=209
Author: windrv    Time: 21-11-2008 16:08

Clicking on No, the following screen comes out:

Attachment: 003.jpg (21-11-2008 16:08, 36.86 K) / Download count 0
http://windrv.net/attachment.php?aid=210
Author: windrv    Time: 21-11-2008 16:10

Then you just click on the Make List File button and you are presented with the following dialogue box to input the name of the filelist file to be saved:

Attachment: 004.jpg (21-11-2008 16:10, 54.58 K) / Download count 0
http://windrv.net/attachment.php?aid=211
Author: windrv    Time: 21-11-2008 16:20

You key in:

base

as shown in the above screen.

After clicking the Save button, a file named as

base.txt

is saved in the dala program folder.

Besides saving the base.txt file, LA also does some processing on this filelist file so that you can use for analysis purpose. This will be described later in this thread.

After the Analysis processing is done, you can see the following screen:

Attachment: 005.jpg (21-11-2008 16:20, 4.18 K) / Download count 0
http://windrv.net/attachment.php?aid=212
Author: windrv    Time: 21-11-2008 16:21

The base.txt now contains all the files so far accessed by the system up to the point you click the Make List File button.

If you want to know what files are accessed when you use Internet Explorer to browse the Internet, you can then fire up IE to browse a website such as:

www.disklessangel.com

Attachment: 006.jpg (21-11-2008 16:24, 91.45 K) / Download count 0
http://windrv.net/attachment.php?aid=213
Author: windrv    Time: 21-11-2008 16:25

and download our demo as follows:

Attachment: 007.jpg (21-11-2008 16:25, 20.99 K) / Download count 0
http://windrv.net/attachment.php?aid=214
Author: windrv    Time: 21-11-2008 16:26

Then you run up or go to LA again:

Attachment: 008.jpg (21-11-2008 16:26, 36.9 K) / Download count 0
http://windrv.net/attachment.php?aid=215
Author: windrv    Time: 21-11-2008 16:29

Perhaps you may have to wait for 1 minute or 2 for LA monitor to capture the files accessed by IE.

Then you press Make List File button again:

Attachment: 009.jpg (21-11-2008 16:29, 59.69 K) / Download count 0
http://windrv.net/attachment.php?aid=216
Author: windrv    Time: 21-11-2008 16:31

In the above screen, you input another filename:

base_ie

and press Save button.

A new filelist file:

base_ie.txt

is saved for you.

And you are informed that Analysis is also done for you again for this base_ie.txt:

Attachment: 005.jpg (21-11-2008 16:31, 4.18 K) / Download count 0
http://windrv.net/attachment.php?aid=217
Author: windrv    Time: 21-11-2008 16:36

You now want to compare the two filelist files just made:

base.txt

and

base_ie.txt

base_ie.txt should have the filenames of the files accessed by IE into to base.txt after the system is settled down.

To make the comparison, you press the selection button to the right of the User Option File on the LA screen and select the file:

complist2list.lst

as follows:

Attachment: 010.jpg (21-11-2008 16:36, 37.66 K) / Download count 0
http://windrv.net/attachment.php?aid=218
Author: windrv    Time: 21-11-2008 16:36

Then you press the Make List File button again:

Attachment: 011.jpg (21-11-2008 16:36, 36.99 K) / Download count 0
http://windrv.net/attachment.php?aid=219
Author: windrv    Time: 21-11-2008 16:37

It asks for the first file for comparison, so you click OK and then select:

base.txt

Attachment: 012.jpg (21-11-2008 16:37, 62.76 K) / Download count 0
http://windrv.net/attachment.php?aid=220
Author: windrv    Time: 21-11-2008 16:38

After clicking the Open button, you are asked to select the second file for comparison:

Attachment: 013.jpg (21-11-2008 16:38, 36.8 K) / Download count 0
http://windrv.net/attachment.php?aid=221
Author: windrv    Time: 21-11-2008 16:39

After clicking OK, you select:

base_ie.txt

as follows:

Attachment: 014.jpg (21-11-2008 16:39, 62.81 K) / Download count 0
http://windrv.net/attachment.php?aid=222
Author: windrv    Time: 21-11-2008 16:42

After clicking Open, you wait for sometime and the following screen comes out telling you comparison is finished:

Attachment: 015.jpg (21-11-2008 16:42, 36.74 K) / Download count 0
http://windrv.net/attachment.php?aid=223
Author: windrv    Time: 21-11-2008 16:43

Then you use My Computer to browse to your LA program folder as follows:

Attachment: 016.jpg (21-11-2008 16:43, 131.94 K) / Download count 0
http://windrv.net/attachment.php?aid=224
Author: windrv    Time: 21-11-2008 16:48

After you click the Date Modified Header, you can sort the filenames appearing in My Computer according to Date Modified.

If you do not see the screen as listed above, you can press the Date Modified Header again.

Clicking the Date Modified Header will list the filenames either in date ascending or discending order.

So you can see from the above screen that you have the following groups of filenames below the base.txt and base_ie.txt as below:

Group 1:

list1.txt
list2.txt
listlistin1.txt
listlistin2.txt
listlistbothin12.txt
listlistmerge12.txt

Group 2:

list3.txt
list4.txt
listlistin3.txt
listlistin4.txt
listlistbothin34.txt
listlistmerge34.txt

Group 3:

list5.txt
list6.txt
listlistin5.txt
listlistin6.txt
listlistbothin56.txt
listlistmerge56.txt

Group 4:

list5short.txt
list6short.txt
listlistin5short.txt
listlistin6short.txt
listlistbothin56short.txt
listlistmerge56short.txt
Author: windrv    Time: 21-11-2008 17:13

First of all, when making the filelist comparison, it copies the first file selected, base.txt as list1.txt, and the second file selected, base_ie.txt as list2.txt.

It then makes analysis for you and creates other files as follows:

listlistin1.txt -- the filenames only found in list1.txt

listlistin2.txt -- the filenames only found in list2.txt

listlistbothin12.txt -- the filenames found both in list1.txt and list2.txt

listlistmerge12.txt -- the filenames merged from list1.txt and list2.txt

1 & 2 become 3 & 4 in Group 2.

3 & 4 become 5 & 6 in Group 3.

5 & 6 in Group 3 become 5short & 6short in Group 4.

The filenames in list1.txt and list2.txt are translated to taking a driver letter of the system drive to become list3.txt and list4.txt.

So if the system drive is c:; all files having drive letters besides c: are turned to start with c:

Filenames in list3.txt and list3.txt are translated and put inside list5.txt and list6.txt.

Only filenames having the folder location name of:

system32 folder
windows folder
program files folder

are translated; others are left as they are.

For example:

C:\WINDOWS\system32   --> %sysdir%
C:\WINDOWS                 --> %windir%
C:\Program Files              --> %programfiles%

This translation into relative path is for making it convenient to be used in system that may have system drive letter other than C: and the system file folders other than the standard folders.

List5short.txt and List6short.txt are shortlists for List5.txt and List6.txt.

Filenames inside List5.txt and List6.txt but not from the folders of:

%sysdir%
%windir%
%programfiles%

are excluded in List5short.txt and List6short.txt.

So you could easily examine what system files are accessed by an application that you used.

Take our Internet Explorer example again, you could look inside:

listlistin6short.txt

to see a shortlist of the system files resolved into relative paths that are accessed since you use Internet Explorer to browse the Internet and download files.

This is also how roughly the .txt and .cfg files inside the automake.cfg are derived.

You could of course add or delete the entries inside listlistin6short.txt for making better the component filelist for Internet Explorer when you have more technical information from other sources.

You could put filenames of such component filelist files inside automake.cfg so that LA would use them for making all auto-build system images, including:

Full System
Optimal System
and
Mini System

If you want to use such component filelist files only for making, for example, Mini System, then you could put the filenames of such component filelist files into:

miniexp.cfg

Full System and Optimal System will not use the above .cfg file for making the system image.

So the above is a simple and short but useful sequence of steps for you to make component filelist files to be used by LA for making system images for you.




Welcome to Bean Forum (http://windrv.net/) Powered by Discuz! 5.0.0