This step-by-step article describes how to create an International Standards Organization (ISO) image for creating a custom startup Windows Preinstall Environment (WinPE) CD-ROM for select corporate and OEM customers.
Create a custom startup WinPE CD-ROM
It can take several minutes to build a custom version of WinPE. This process creates a folder structure of the WinPE files and optionally creates an image file that you can burn to a CD-ROM:
- Create and name a folder on your hard disk named Build_location.
- Insert the OEM Preinstallation Kit (OPK) CD-ROM into the CD-ROM drive that is named Cd_drive.
- Copy Cd_drive\Winpe\*.* to Build_location.
- Copy the Factory.exe and Netcfg.exe files from the Cd_drive\Tools\Platform folder into the Build_location folder. If you are building a 32-bit version of WinPE, the value of Platform is x86. If you are building a 64-bit version of WinPE, the value of Platform is IA-64.
- Remove the OPK CD-ROM from the CD-ROM drive.
- Use either of the following methods:
- If you are building a 32-bit version of WinPE, insert the Windows XP Professional CD-ROM in the CD-ROM drive.
- If you are building a 64-bit version of WinPE, insert the Windows XP 64-Bit Edition CD-ROM in the CD-ROM drive.
- Make custom changes to the WinPE files.
- If you are building a 64-bit version of WinPE, insert a floppy disk into drive A of the computer. This disk is used for temporary storage during the build process of the 64-bit WinPE.
- Locate the Build_location folder.
- Run the following command:
mkimg.cmd source_directorydestination_directory [image_name]
The source_directory: Specifies the location of the CD-ROM for the 32-bit version of Windows XP Professional. If source_directory is a CD-ROM drive, you only have to specify the drive letter. If source_directory is a network path, the path must be to the parent folder of the \I386 folder. Do not include a trailing slash in source_directory.
The destination_directory: Specifies the path where the files that you must have to create the image are temporarily stored. If this folder does not already exist, the mkimg.cmd command can create it.
The image_name: Is optional. It specifies the path and file name of the ISO image file that contains the customized version of WinPE, if you are placing this version of WinPE onto a CD-ROM.
For more information, see the mkimg command that is described in the Windows XP OEM Preinstallation Kit Users Guide.
You can also use the Oscdimg.exe program to create an .iso file. If you create an .iso image file, you can burn this version of WinPE to a CD-ROM.
To configure the WinPE CD-ROM so that it starts from the CD-ROM every time, if the WinPE CD-ROM is present in the CD-ROM drive, remove the \I386\Bootfix.bin file from the WinPE folder structure before you create an .iso file.