Adding Packages

The next step is to add the packages that you require. You add packages by using the DISM /Add-Package option. Additionally, for every feature you want to add to Windows PE, you must add a language-neutral package and a language-specific package. In a default installation of the Windows AIK, you find the language-neutral packages in the folder C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs and the language-specific packages in C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\/anguage, where language is the language identifier (such as en-US for U.S . English).

To add a package to the Windows PE image, perform the following steps:

1. Look up in Table 9-1 the names of the packages that you want to install.

2. Add the language-neutral package to the Windows PE image by running the following command at the Deployment Tools command prompt.

dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\package.cab"

3. Add the language-specific package to the Windows PE image (look up the actual file name in C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us).

dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\7anguage\package_7anguage.cab"

For example, the following two commands install the WinPE-Scripting language-neutral and language-specific packages into a Windows PE image mounted at C:\Winpe_x86\Mount .

dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK \Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab"

dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK \Tools\PETools\x86\WinPE_FPs\en-us\winpe-scripting_en-us.cab"

After adding packages to the Windows PE image, you can verify them by listing the image's packages . To list the packages in a Windows PE image mounted to C:\Winpe_x86\Mount, run the following command at the Deployment Tools command prompt.

dism /image:c:\winpe_x86\mount /Get-Packages table 9-1 Windows PE Packages

PACKAGE DESCRIPTION

dism /image:c:\winpe_x86\mount /Get-Packages table 9-1 Windows PE Packages

PACKAGE DESCRIPTION

WinPE-FONTSupport-

Provides additional font support for the following languages:

<language>

ja-JP, ko-KR, zh-CN, zh-HK, and zh-TW.

WinPE-HTA

Provides HTA support. Enables the creation of graphical

user interface (GUI) applications using the Windows Internet

Explorer script engine and HTML services .

Winpe-LegacySetup Contains the Media Setup 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 package To add a new Boot wim to the media, add either child package in addition to the Setup and Media packages

WinPE-MDAC

Provides Microsoft Data Access Component support . Enables queries to SQL servers with Active Directory Objects . For example, you can build a dynamic Unattend.xml file 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

Provides WSH support. Enables batch file processing using WSH script objects

WinPE-Setup Contains the Setup package All Setup files from the \Sources folder common to the client and server This package is the parent package of winpe-setup-client and winpe-setup-server. You must install winpe-setup before you install the child packages

WinPE-Setup-Client Contains the Client Setup package . The client branding files for Setup. Must be added after the WinPE-Setup package.

WinPE-Setup-Server Contains the Server Setup package . The server branding files for Setup. Must be added after the WinPE-Setup package.

WinPE-SRT Contains the Windows Recovery Environment (Windows RE)

package. Provides a recovery platform for automatic system diagnosis and repair and the creation of custom recovery solutions.

PACKAGE

DESCRIPTION

WinPE-WMI

Provides Windows Management Instrumentation (WMI)

support. A subset of the WMI providers that enables minimal

system diagnostics.

WinPE-WDS-Tools

Contains the Windows Deployment Services tools package . Includes APIs to enable a multicast scenario with a custom Windows Deployment Services client and Image Capture utility.

NOTE Previous versions of Windows PE included pre-staged optional packages that you had to remove if you didn't want to include them in the image. These included the WinPE-HTA-Package, WinPE-Scripting-Package, and WinPE-MDAC-Package packages. Windows PE 3.0 does not include pre-staged optional features, helping reduce the footprint of Windows PE. You must add all of the packages that you require.

Was this article helpful?

0 0

Responses

  • KATIE-LEIGH
    Where is language independent WINPESRT.cab package?
    9 years ago

Post a comment