Showing posts with label Multilingual. Show all posts
Showing posts with label Multilingual. Show all posts

Tuesday, 22 May 2018

[Windows 10] Multilingual Image Creation & Deployment using DISM


Mount install.wim & adding language pack

1. Run the Deployment & Imaging Tools as administrator.

image

2.  Get info

I. Get info if the Wim File.

Type command :
Dism /Get-WIMInfo /WimFile:C:\my_distribution\sources\install.wim

II. Mount the Wim file according to the Image name.

Type command:
Dism /LogPath:C:\DismLogs\MountOSInstallWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\install.wim /Name:"Windows 10 Pro" /MountDir:C:\test\offline

image

3. Add Language Pack.

Type command:

Dism /image:C:\test\offline /LogPath:C:\DismLogs\AddLangPack.log /Add-Package /PackagePath:C:\test\LangPacks\Microsoft-Windows-Client-Language-Pack_x64_zh-cn.cab

You can add multiple languages in one command line. Command eg:

Dism /image:C:\test\offline /LogPath:C:\DismLogs\AddLangPack.log /Add-Package /PackagePath:C:\test\LangPacks \Microsoft-Windows-Client-Language-Pack_x64_ja-jp.cab /PackagePath:C:\test\LangPacks\Microsoft-Windows-Client-Language-Pack_x64_ko-kr.cab /PackagePath:C:\test\LangPacks\Microsoft-Windows-Client-Language-Pack_x64_th-th.cab

image

4. Unmount the Wim once language is added.

Type command:

Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image

Mount boot.wim & adding language pack

1. Mount the boot.wim file.
Type command :

Dism /Logpath:C:\DismLogs\MountBootWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\boot.wim /Index:2 /MountDir:C:\test\offline

image

2. Add the WinPE LangPack
Type Command:

Dism /image:C:\test\offline /Logpath:C:\DismLogs\AddWinPELangPack.log /Add-Package /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_zh-cn.cab

image

You can add multiple languages in one command line eg :

Dism /image:C:\test\offline /Logpath:C:\DismLogs\AddWinPELangPack.log /Add-Package /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_zh-cn.cab /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_ja-jp.cab /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_ko-kr.cab /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_th-th.cab

image

3. Once added, copy the required language folders from
C:\test\offline\sources to C:\my_distribution\sources

image

4. Proceed to unmount the boot.wim
Type command:

Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image

Re-Create the Lang.ini file

1. Mount the install.wim file again.

Type command :

Dism /LogPath:C:\DismLogs\MountOSInstallWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\install.wim /Name:"Windows 10 Pro" /MountDir:C:\test\offline

image

2.
Type command:

Dism /image:C:\test\offline /Gen-LangINI /distribution:C:\my_distribution
(If you want to check if your language pack is installed: Dism /image:C:\test\offline /distribution:C:\my_distribution /Get-Intl)

Unmount the wim.
Type command:

Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image

3. Mount the boot.wim file to copy the lang.ini file.
Type command:

Dism /LogPath:C:\DismLogs\MountBootWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\boot.wim /Index:2 /MountDir:C:\test\offline

Then,

Xcopy C:\my_distribution\sources\lang.ini C:\test\offline\sources\lang.ini
Overwrite? Y

image

Once complete, unmount.
Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image











































Monday, 14 May 2018

[Windows 10] Multilingual Image Creation & Deployment–Prerequisites


Good Day Everyone!

One of our client requested for a Windows 10 ISO which comes with multi language selection during the installation. Their request is due to some of the users who are unable to click on the required options as they don’t speak or write English. As most of us noticed, Windows 10 normally comes with English for the installation part & later on we can change it to our preferred language. Below guide is to create a WIM file which allows us to choose the language at the very beginning of the installation, Out of the box experience - OOBE.

This post covers the pre-requisites for the process:-

1. We need Adk installer, Windows 10 ISO file & Language pack ISO File.
image

2. Create below folders at this location C:\

I. DismLogs
II. my_distribution
III. test
image

3. Create below folders under C:\test

I. LangPacks
II. Offline
III. WinPE_LangPacks
image

4. Open the Windows ISO file & copy all the files to my_distribution folder.image

5. Copy your language pack (.cab) from language pack ISO file X:\x64\langpacks to C:\test\LangPack
image

6. Now go to C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\ & choose the language eg. th-th.
Copy the WinPE-Setup_th-th.cab to C:\test\WinPE_LangPacks
image

Window Assessment & Deployment Kit Installation

1. Install the Windows Assessment and Deployment Kit (Windows ADK) according to the windows version.
You may get it from https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit

image

2. Ensure Deployment Tools & Windows Pre-installation environment (Windows PE) is checked. Proceed to install adk.
image

These are the prerequisites, will cover next steps on next post.

Thanks & have a good day!