Do-It-Yuan Packages with Longhorn XP

  
Microsoft has adopted a new Windows clone deployment method, WIM, in the next generation of Windows Vista Beta 1 (CodeName Longhorn). This clone installation method is similar to Ghost
, but it has more flexibility than Ghost
(you can restore to any partition, you can set the installation serial number, user name, etc. before installation. ), so it quickly attracted the attention of many players...

WIM, starting with Longhorn

Recently, Microsoft released the next generation operating system Windows Vista Beta 1 installation CD, applied A new system packaging method WIM (Windows Imaging, Figure 1).


1.WIM advantage

WIM analogously Ghost
manner package system, system installation time is greatly shortened. We installed on the test machine and it took 18 minutes to complete the deployment of the operating system.

WIM although similar Ghost
way the system is installed, it is better than Ghost
more flexible, which allows us to recover before the image file to your hard drive, select Resume partition, enter the serial number, and other simple configuration (FIG. 2);

these operations, the use of method Ghost
recovery system is powerless.



2. Unveil the WIM veil

On Microsoft's official website, there is a "Windows Automated Installation Kit (WAIK)" user guide (WIM package format is actually The compression and encapsulation format used by WAIK):

http://www.microsoft.com/downloads/details.ASPx?FamilyID=fe43b82d-da66-4481-a904-270511a061b8&displaylang=en


for this WIM file format, Microsoft offers xImage program to manipulate it. xImage is included in the WAIK and has not yet been officially released. Users with this requirement can go to the "Juju Cat Broadband Treasure Forum" (http://www.jujumao.com
) for help.

Since the xImage-related specifications are still changing, the WIM files included in different versions of Windows Vista, such as the W48 files in Longhorn 5048 and Windows Vista Beta 1 5112, require the corresponding version of xImage. To operate.

(1) View WIM file information

xImage is a command-line tool. We can use it to complete the production, management, viewing and other operations for WIM files. You can get detailed help information by entering the following command:

xImage /?

For example, in the Sources directory of the Windows Vista Beta 1 installation CD, there are two WIMs Boot.wim and Install.wim. file. We can use: xImage /info f:\\Sources\\Boot.wim to view the information contained in Boot.wim. We can see from FIG. 3

in, using the Boot.wim LZX compressed mode (maximum compression ratio), comprising two portions, wherein only the second portion can be guided.

(2) reads the contents of the WIM file

WIM file, we can be achieved by installing the WIM File System Filter comes xImage in the (right-click on the file wimfltr.inf , select "Install". After installing the WIM file system filter, you can use the xImage file to load the WIM image file into a directory. For example, load the first part of Install.wim into the G:\\Mount directory.

xImage /mount g: \\ mount f: \\ Sources \\ Install.wim 1

Parameters: read-only loading:

/mount. /mountrw is loaded in read-write mode.

f:\\Sources\\Install.wim 1: Load the first part of the Install.wim file. You can first use the "xImage /infof:\\Sources\\Install.wim" command to view the Install.wim file containing several parts, and then select Load.

After loading the Install.wim file to g:\\mount, the operation of the g:\\mount directory in the "Explorer" is equivalent to operating the WIM image file (Figure 4).

(3) create a WIM file

WAIK method of packaging systems, in fact, a system has been installed, compressed into a WIM file. We can execute the following statement:

xImage /compress maximum /capture C: Install.wim "Windows XP Professional SP2"

Compress all the contents of the C drive into the Install.wim file ( There is a space between C: and Install), the compression ratio is the maximum compression ratio (a total of None - no compression, fast - fast compression, maximum - maximum compression ratio), the description is "Windows XP Professional SP2" .

Tip: "! Error Mounting Image" to load Install.wim file, you must copy it to your hard drive first, otherwise it will get the error can not be loaded.



Preparations

Below, we will wrap Windows XP Professional SP2 in WIM mode. Before we start packaging, we still need to do some preparatory work.

Tip: After the operation is complete, you can execute "xImage /unmount g:\\mount" to uninstall the WIM file. If you are using read-write loading, you can add the "/commit" parameter to save the changes to the WIM file:

xImage /unmount /commit g:\\mount

1. Tool Preparation

● Windows Vista Beta 1 Build 5112 image file

hand if you are installing a DVD disc, first with UltraISO on CD-ROM ISO image file.

●xImage 6.0.5112

●SysPrep

Release it to the c:\\Sysprep directory. Since there is no built-in Sysprep on the Windows Vista Beta 1 Build 5112 installation CD, you may need to extract it from Longhorn 5048 or earlier.

● WinPE bootable CD class.

It is recommended to use the deep mountain red leaf WinPE boot CD.

●UltraISO (http://www.ezbsystems.com/ultraiso/
).

A powerful tool that can be used to edit Windows Vista Beta 1 Build 5112 CD image. It can also be used to create image files from CD, extract image files from CD, and create and optimize multi-system installation CDs. .

2.

system ready to install Windows XP to a new hard disk (FAT32 format partition is best), installed a variety of applications, and optimize it appropriately adjusted. After

WIM package with Windows XP SP2 combat

WIM and Ghost
package similar to Windows XP, all on a single computer system is first installed, deploy the application needs , then package it and restore it to other computers.

1.

system to lose weight in order not to take up too much space encapsulation system, we also need to like "ten minutes to create universal Windows XP system restore CD" method described in the article above, Clear system garbage, turn off system restore, set the page file to none, and restart the computer for the settings to take effect.

2.SysPrep

After the system is adjusted, switch to the C:\\Sysprep directory and execute Sysprep for system preprocessing. After processing, the system will automatically shut down. 3. Production

image WIM

WinPE disc starts with a computer, switch to xImage save directory, run the following command to install the C drive Windows XP Professional SP2 package to d: \\ Install.wim file in.

xImage /Compress maximum /Capture c: D:\\Install.wim "Windows XP Professional SP2"

xImage packaging system takes a long time, generally more than 20 minutes, the specific time There are differences in the strength of the computer configuration (Figure 5).
Tip: We did not install any application, did not clear the DLLCache, but deleted the page file, the generated WIM image file size is 655MB - it seems to use WIM package Windows XP system, also need to use DVD The disc is burned.

4. Make a boot CD

below, we will open the Windows Vista Beta 1 Build 5112 Mirror with UltraISO, the Windows Vista Beta WIM file 1 is replaced with the files of Windows XP.

(1) add Windows XP package

add Install.wim file you just created to the next Sources directory of the CD image overwrite the original file (Figure 6). Since the Drivers directory on the original CD is some of the drivers that Windows Vista needs, we package Windows XP and don't need these drivers. We can remove it and save 1.26GB of space. Problem



(2) the serial number of the add Pidgen.dll and setupp.ini i386 directory of the Windows XP SP2 CD under Windows Vista CD image Sources directory (covering Pidgen.dll ), this allows you to enter the Windows XP serial number at the time of installation to pass the verification.


written in the last 1 WIM

Windows Vista Beta, is promising a system package. At present, WAIM's packaging tool WAIK has not been officially released, so we are adopting the method of “stealing the sky” to implement the package of Windows XP Professional SP2. This can only be regarded as a stopgap measure. When the WAIK is released, the WIM package should be made simpler and have more adjustment options.

Copyright © Windows knowledge All Rights Reserved