Jump to content

Languages packs integration

Recommended Posts

*** UPDATE 1st may 2009 ***

Since the 7100 build and some languages packs are "available", I find an information that might be worth to know.

I tried to integrate the 7100 french LP into the 7100 iso, and this on my 7077 build installation. Doing so is useless, as DISM.EXE v7077 reports an error when trying to integrate the LP in the 7100 Wim image file.

So, if you want to integrate a 7100 LP in a 7100 build iso, by following my tutorial, you have to do it on an existing 7100 installation of 7 (I've done it on my Acer notebook with success), with version 7100 of DISM.EXE.



There's a little tutorial I've done for all of you interested in integrate a MUI language pack in a Windows 7 7077 EN-US installation DVD.

I've just done it for my 7077 x64 installation with french language pack.

USUAL WARNING: I take NO responsability if you loose data by following my tutorial. If you're playing with a beta version of an OS, you know what you're doing.

I) What is needed :

- A Windows 7 7077 installation DVD or iso (I think you already got it). In my case, I used Windows 7 7077 x64 build;

- A language pack (lp.cab). You can find some there : www.sinfocol.org;

- GImageX 2.0.15 Beta (using this version is important, as it is compatible with Windows 7). Can get it here : http://www.autoitscript.com/gimagex/archiv...gex_v2.0.15.zip;

- ImageX_x86 or ImageX_x64 depending on your actual OS architecture. You can find them here : http://www.tipandtrick.net/2008/imagex-600...alone-download/http://www.tipandtrick.net/2008/imagex-600...lone-download/;;

- About 15 gb free HDD space.

II) Preparation :

- First make a folder somewhere on your hard drive. I suggest making a short named one, it will make things easier. So let's make a new folder, say "F:\7Work" (Naturally, replace F: with your own drive letter).

- In this "7Work" folder, make 3 new sub folders : "DVD", "WIM" and "LP".

- Unzip GImageX in the "F:\7Work" folder. You'll get a new folder named "install".

- Unzip ImageX_x86 / ImageX_x64 to "F:\7Work".

- Mount or burn your W7 iso and copy all files and folders in the "F:\7Work\DVD" folder.

- Copy your "lp.cab" from your language pack to "F:\7Work\LP".

We must have :


╠═══[DVD] --> with all folders and files from the W7 install DVD.

╠═══[install] --> GImageX 2.0.15 unpack folder name. Rename it to "GImageX" if you feel more comfortable with.

╠═══[LP] --> with your lp.cab.

╠═══[WIM] --> with expanded files from "install.wim" on step III.







We now have all things necessary to modify our W7 installation.

III) The hardest things (please read carefully !!) part One - Integrating our language pack to the "Install.wim":

- Execute GImageX,

- Click on the "Mount" tab,

- In the "Mount point" field, enter "F:\7Work\WIM", or just click "Browse..." and browse to your WIM folder,

- In the "Source" field, enter "F:\7Work\DVD\sources\install.wim", or just browse to the "sources" folder and select "install.wim" file,

- Set "Image" value to 4,

- Click on the "Read and write" checkbox to activate it,

- Finally click on "Mount". This may take a while depending on your configuration, as this expands all files contained in the "install.wim" to the "WIM" folder we've created. Just let GImageX do the thing and wait.

Once it's done, click "Close". You can close GImageX if you want, but for lower risks, I've let it opened.

You should have this :


Next step: integrate the language pack.

- Open a command prompt as administrator, CD to "F:\7Work" and type exactly this :

DISM.exe /Image:F:\7Work\WIM /Add-Package /PackagePath:F:\7Work\LP\lp.cab

DISM.exe is part of Windows and is in "C:\Windows\system32" (and if x64, in "C:\Windows\SysWOW64").

Wait as the process is relatively long. You should see this :

Deployment Image Servicing and Management tool
Version: 6.1.7077.0

Image Version: 6.1.7077.0

Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package
The operation completed successfully.


Next step: making our language the default language.

- Come back in your command prompt, and type exactly this :

intlcfg.exe -all:fr-FR -image:F:\7Work\WIM

Naturally, replace "fr-FR" with your language code, i.e. "de-DE".

You should have this :

Input locale has been set to: fr-FR
System locale has been set to: fr-FR
User locale has been set to: fr-FR
UI language has been set to: fr-FR


Now we have to generate a new "lang.ini" file. Type the following in your command prompt :

intlcfg.exe -genlangini -dist:F:\7Work\DVD -image:F:\7Work\WIM

Enter Y to overwrite the existing "lang.ini" file. You'll see this :

Are you sure you want to overwrite the existing Lang.ini file? (Y/N): Y

A new Lang.ini file has been generated


And finally we have to define the installation default language. Type :

intlcfg.exe -defaultlang:fr-FR -dist:F:\7Work\DVD

Again, replacing "fr-FR" with your language code.

You'll have this :

Are you sure you want to overwrite the existing Lang.ini file? (Y/N): Y

The default language in Lang.ini file has been updated to: fr-FR


Finally, we must save our modified "install.wim" file.

- Go back to GImageX,

- Click on the "Commit Changes" checkbox (IMPORTANT ! If you don't click "Commit Changes", the modifications WON'T BE SAVED !!),

- Click once on the line "R/W F:\7Work\WIM F:\7Work\DVD\sources\install.wim 4" so the line turn blue,

- Finally click on the "Unmount" button. Wait until the "install.wim" is saved (may take some time) and unmounted. Files & folders in the "WIM" folder are deleted too.

Voilà, the first part is completely done. In my next post, I will explain how to modify the "boot.wim" file to have the Windows 7 installer language modified. ;-)

Second part of my tutorial - Modifying the "boot.wim" file.

Now that we have a "install.wim" file with our language pack, we're going to modify the "boot.wim" file to have it use our language.

I) Preparation :

- We need to unpack the "lp.cab" file. I used WinRar to do it. I unpacked the file to "F:\7Work\LP". In this folder, more than 4000 files and more than 3000 folders.

- To speed up things because of these tons of files and folders, you can delete all files and folders in "F:\7Work\LP" *EXCEPT* folders "setup" and "sources".

II) Let's do it ! (again, read carefully !)

- Launch again GImageX,

- Click on the "Mount" tab,

- In the "Mount Point" field, enter "F:\7Work\WIM" or just browse to it,

- In the "Source" field, enter "F:\7Work\DVD\sources\boot.wim" or browse to it,

- Set "Image" value to 2,

- Click on the "Read and write" checkbox so it's activated,

- Click on the "Mount" button (should take a lot shorter time than the "install.wim" file !),

- Click on the "Close" button when image is mounted.

Next step:

- Open a command prompt as administrator, and CD to "F:\7Work".

- Type the following :

xcopy DVD\sources\lang.ini WIM\sources\ /cheryki

- Type :

mkdir WIM\sources\fr-FR

Replace "fr-FR" with your language code.

- Then type :

xcopy LP\setup\sources\fr-FR\*.* WIM\sources\fr-FR /cheryki

Again, replacing all "fr-FR" occurences with your language code.

- Now type :

xcopy LP\sources\license\*.* WIM\sources\license /cheryki

- Finally, go back in GImageX,

- Don't forget to click on the "Commit Changes" checkbox, else your changes won't be saved,

- Click once on the "R/W F:\7Work\WIM F:\7Work\DVD\sources\boot.wim 2" so the line turn blue,

- Click on the "Unmount" button.

Our new "boot.wim" file is created and all files & folders in the WIM folder are deleted.

And finally you just have to inject your modified "boot.wim", "install.wim" and "lang.ini" files to your Win7 7077 iso and burn it !

I used UltraISO, opened my existing 7077 x64 iso, removed all files and folders, inject my "F:\7Work\DVD" folder and saved a new 7077 iso file.

For my tests purposes, I used a 8 Gb USB flash drive.

If you have any question/remark/error correction/improvement, don't hesitate to post !

Edited by Yurek3
Link to comment
Share on other sites

  • 3 weeks later...

how do i make it bootable? :S vLite does not work for me.. ive added the dll file it needs from WAIK and i have waik installed but i still get the install waik thing

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...