The following procedure demonstrates how to use Deployment Image Servicing and Management (DISM) to add a Windows PE language pack to a Windows PE image offline.
The Dism /SetAllIntl option sets the locale and the user interface (UI) language of a Windows PE image. You must adda language pack before using the Dism /SetAllIntl option.
Important: | |
|
To work around this issue, edit the following registry value to use a different font. For example,
HKLM\Software\Microsoft\Notepad\Default\lfFontName
To add a language pack to a Windows PE image offline
- Mount the base image by using the DISM tool to a local
Windows PE directory. For example,
Dism /Mount-Wim /WimFile:C:\winpe_x86\winpe.wim /index:1 /MountDir:C:\winpe_x86\mount
- Add the Windows PE language pack into your working
directory. For example,
Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\<version>\Tools\PETools\x86\WinPE_FPs\en-us\lp_en-us.cab"
- You can verify the language settings by using the
/Get-Intl option. For example,
Dism /image:c:\winpe_x86\mount /Get-Intl
- Commit changes to the image. In this step, you commit the
changes to the original image file by using the DISM
/unmount option with the /commit option. For
example:
Dism /unmount-Wim /MountDir:C:\winpe_x86\mount /Commit
- After the image is prepared, you can burn the image to
media.
Note: If you choose to remove a package using the DISM /Remove-Package option, the functionality of the package will be remove from your Windows PE image, but the source file will still persist in the image. The size of your image will remain the same. To remove the file from the image, you must recreate a new image.
To learn more about managing packages, see Operating System Package Servicing Command-Line Options.