This topic procedure demonstrates how to use Deployment Image Servicing and Management (DISM) to add packages to a Windows® Preinstallation Environment (Windows PE). image offline.
Windows PE 3.0 provides the following packages that you can add to your base image. You must add them to your image by using the DISM command with the /Add-package option.
Package Name | Description |
---|---|
WinPE-FONTSupport-<region> |
Additional font support for the following languages: ja-JP, ko-KR, zh-CN, zh-HK, and zh-TW. |
WinPE-HTA |
HTML Application support. Enables the creation of GUI applications using the Internet Explorer script engine and HTML services. |
Winpe-LegacySetup |
The Media Setup feature package. All Setup files from the \Sources folder on the Windows media. Add this package when servicing Setup or the \Sources folder on the Windows media. Must be added with the Setup feature package. To add a new Boot.wim to the media, add either child package in addition to the Setup and Media packages. This package is required to support Windows Server® 2008 R2 installation. |
WinPE-MDAC |
Microsoft® Data Access Component support. Enables queries to SQL servers with Active Directory Objects (ADO). Example usage: building a dynamic Unattend from unique system information. |
WinPE-PPPoE |
Enables Point-to-Point Protocol over Ethernet (PPPoE) support. Create, connect, disconnect and delete PPPoE connections from Windows PE. |
WinPE-Scripting |
Windows Script Host (WSH) support. Enables batch file processing using WSH script objects. |
WinPE-Setup |
The Setup feature package (parent). All Setup files from the \Sources folder common to Client and Server. |
WinPE-Setup-Client |
The Client Setup feature package (child). The Client branding files for Setup. Must be added after the Setup feature package. |
WinPE-Setup-Server |
The Server Setup feature package (child). The Server branding files for Setup. Must be added after the Setup feature package. |
WinPE-SRT |
The Windows Recovery Environment feature package. Provides a recovery platform for automatic system diagnosis and repair and the creation of custom recovery solutions. |
WinPE-WMI |
Windows Management Instrumentation (WMI) support. A subset of the WMI providers that enables minimal system diagnostics. |
WinPE-WDS-Tools |
The Windows Deployment Services tools feature package. Includes APIs to enable a multicast scenario with a custom Windows Deployment Services client and Image Capture utility. |
Notes | |
|
For an example of how to build custom Windows PE images, see Windows PE Walkthroughs.
To add a package to a Windows PE image offline
- Use the DISM tool to mount the base image 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 a Windows feature to the base image by using the
DISM command with the /Add-Package option. For
example:
dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\<version>\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab"
dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\<version>\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en-us.cab"
Note: When adding packages, you must include both the language-neutral package and the language-specific package, as illustrated in the previous example.
- Repeat Step 1 for each package you want to install in the
base image.
- Verify that the packages were installed by using the
DISM command with the /GetPackages option to view all
packages in the current image. For example,
dism /image:c:\winpe_x86\mount /Get-Packages
After the image is prepared, you can burn the image to media.
Note: | |
If you choose to remove a package using DISM /Remove-Package, 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 create a new image. |
For more information about managing packages, see Operating System Package Servicing Command-Line Options.