Add a Language Pack to a Windows PE Image

The following procedure demonstrates how to use PEImg to add a Windows PE language pack to a Windows PE image offline. Before you can run any PEImg command, you must first apply or mount the Windows PE image by using ImageX. Windows PE provides a base image (Winpe.wim) that you can customize.

The /lang option sets the locale and the user interface (UI) language of a Windows PE image. You must first import and install a language pack before using the /lang option. You can perform this on a Windows PE image prepared with the /prep option.

To add a language pack to a Windows PE image offline

  1. Apply the base image (Winpe.wim) by using ImageX to a local Windows PE directory. For example,

    imagex /apply WinPE.wim 1 c:\winpe_x86\mount\
    

    -OR-

    imagex /mountrw WinPE.wim 1 c:\winpe_x86\mount\
    
  2. Import the Windows PE language pack into your working directory. For example,

    peimg /import=<path> c:\winpe_x86\mount\Windows
    

    Where <path> is location of the language pack.

  3. Once imported, install the language pack. For example,

    peimg /install=<pkg> c:\winpe_x86\mount\Windows
    

    Where <pkg> denotes the package name. A list of available packages and their names can be obtained by using the /list option. If you add the /verbose option, the output will display the full package name. Wildcards can be used when specifying a package name. Any packages with matching names will be installed. For example,

    peimg /install=*JA-JP* c:\winpe_x86\mount\Windows
    

    Where wildcards denote any package with JA-JP in the package name.

  4. Set the language by using the /lang option with the following syntax.

    peimg /lang=<culture> <image path>
    

    Where <culture> is the culture name property of the specified language. For example,

    peimg /lang=JA-JP c:\winpe_x86\mount\Windows
    

    When you finish customizing the image, prepare the image for deployment by using peimg /prep command.

After preparing the image, you can burn the image to media. First, recapture or commit the local Windows PE directory to a .wim file by using ImageX, create an .iso file by using one of the provided tools, and then burn the .iso file to the appropriate media. Your Windows PE image will now boot into the language that you specified.

See Also

Concepts

Prepare a Windows PE Image
PEImg Command-Line Options