Language Packs can take a while to install via SCCM OSD so you may want to inject the LIPs that you are going to use into the wim file to cut down on deployment time.

To do this you will need to run DISM on a Windows 7 or 2008 machine.

It’s a three step process to achieve the end result.

  1. Mount the WIM file
  2. Inject the relevant language packs
  3. Commit the changes to the WIM file.

Mount the WIM file

Run the following command in DOS

DISM.exe /mount-wim /wimfile:<eg.c:\install.wim> /index:<image in WIM, e.g. 1> /mountdir:<e.g. c:\mountfolder>

So your command could look like this:

DISM.exe /mount-wim /wimfile:d:\Win7Images\install.wim /index:1 /mountdir:c:\temp

Inject the relevant language packs

Run the following command in DOS

dism /image:<eg. c:\mountfolder /scratchdir:<eg. c:\scratchdir /add-package /packagepath: e.g. c:\languages\ja-JP\lp.cab

So your command could look like this:

dism /image:c:\temp /scratchdir:c:\scratchdir /add-package /packagepath:c:\languages\ja-JP\lp.cab

Commit the changes to the WIM file

Run the following command in DOS

dism /commit-wim /mountdir:<eg.c:\temp>

So your command could look like this:

dism /commit-wim /mountdir:c:\temp

 

The changes will be added to the original WIM file and you will see the file size of the WIM increase once the changes are committed.

The lp.cab file for each language pack can be extracted from the Language Pack install using a tool such as 7Zip.

Advertisements