Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


AmdM

How integrate Language pack in Windows 7 RC English

27 posts in this topic

Hi there

I would like to integrate a language pack into Windows 7 RC English.

Vlite recognizes windows 7 and the language pack but can´t do the job.

Any ideias?

Tx

0

Share this post


Link to post
Share on other sites

*** 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.

**********

Hi,

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 :

F:\7Work

╠═══[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.

╠═══imagex.exe

╠═══intlcfg.exe

╠═══vsp1cln.exe

╠═══wimfltr.inf

╠═══wimfltr.sys

╚═══wimgapi.dll

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 :

gimagex.jpg

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
~31bf3856ad364e35~amd64~fr-FR~6.1.7077.0
[==========================100.0%==========================]
The operation completed successfully.

F:\7Work>

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

F:\7Work>

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

F:\7Work>

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

F:\7Work>

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
0

Share this post


Link to post
Share on other sites

Congratulations! You made it! An 100% Perfect Tutorial!

You should make an .Bat file for second tutorial =D

EDIT:

The instalation failed :(

Shouldnt the folder sources/en-us has the name pt-br(in my case)?

Edited by xinxilas
0

Share this post


Link to post
Share on other sites

With Build 7077 I've run this code and t works:

@echo Off

rem ######################################################################
rem # Configure Paths here #
rem ######################################################################

set WORKLW=C:
set WORKDIR=7Work

set WAIK=C:\Program Files\Windows AIK
set LANG=[b]de-DE[/b]

rem ######################################################################
rem # AB HIER NICHTS MEHR ÄNDERN !!!! #
rem ######################################################################

set WIM=%WORKLW%\%WORKDIR%\Mount
set WD=%WORKLW%\%WORKDIR%\DVD
set LP=%WORKLW%\%WORKDIR%\LP\lp.cab
set ELP=%WORKLW%\%WORKDIR%\LPEXT
set ISO=%WORKLW%\%WORKDIR%\ISO

Echo Geben sie die Version an:
Echo 1 - Starter
Echo 2 - HOMEBASIC
Echo 3 - HOMEPREMIUM
Echo 4 - Professional
Echo 5 - Ultimate
Set /p EDITION=Zahl:
Echo.

%WORKLW%
cd %WORKDIR%

echo =====================================
echo Aktualisiere "install.wim"
echo =====================================
echo.
echo Mounte "install.wim" nach "%WIM%"...
"%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\install.wim" %EDITION% "%WIM%"
pause
echo Integriere Sprachpaket von "%LP%...
"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Add-Package /PackagePath:%LP%

echo Setzte Sprache "%LANG%" als Oberflaechensprache...
"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-UILang:%LANG%

echo Setzte Sprache "%LANG%" als Benutzersprache...
"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-UserLocale:%LANG%

echo Setzte Sprache "%LANG%" als Systemsprache...
"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-SysLocale:%LANG%

echo Setzte Sprache "%LANG%" als Eingabesprache...
"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-InputLocale:%LANG%

echo Erstelle "lang.ini"...
"%WAIK%\Tools\x86\intlcfg.exe" -genlangini -dist:"%WD%" -image:"%WIM%" -f
echo Packe und Unmounte "install.wim"...
"%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"


echo =====================================
echo Aktualisiere "boot.wim"
echo =====================================
echo.
Rd /S /Q "%ELP%"
Mkdir "%ELP%"

echo Entpacke Sprachpaket "%LANG%" nach "%ELP%"
Expand "%LP%" -f:* "%ELP%"
echo Kopiere Dateien...
Xcopy "%ELP%\setup\sources\%LANG%\*" "%WD%\sources\%LANG%" /cherkyi
Xcopy "%ELP%\sources\license\%LANG%\*" "%WD%\sources\license\%LANG%" /cherkyi

echo Mounte "boot.wim" nach "%WIM%"...
"%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\boot.wim" 2 "%WIM%"

echo Kopiere Dateien...
Xcopy "%ELP%\setup\sources\%LANG%\*" "%WIM%\sources\%LANG%" /cherkyi
Xcopy "%ELP%\sources\license\%LANG%\*" "%WIM%\sources\license\%LANG%" /cherkyi
Copy "%WD%\sources\Lang.ini" "%WIM%\sources\Lang.ini"
Rd /S /Q "%ELP%"

echo Packe und Unmounte "boot.wim"...
"%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"

echo.
echo Das Languagepack wurde integriert!
echo.
echo Erstelle bootbares ISO...
"%WAIK%\Tools\x86\oscdimg.exe" -n -m -betfsboot.com "%WD%" "%ISO%\Windows 7.iso"
echo Alles erledigt! Das ISO befindet sich im Verzeichnis "%ISO%"
pause

With x64 the numbers of the Editions are

1 - HOMEBASIC

2 - HOMEPREMIUM

3 - Professional

4 - Ultimate

because there is no x64 Starter Edition.

Hope this helps :)

0

Share this post


Link to post
Share on other sites

One question

set WAIK=C:\Program Files\Windows AIK
set LANG=[b]de-DE[/b]

de-DE this is WAIK language version

Edited by Yurek3
0

Share this post


Link to post
Share on other sites
- 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/;

Not wanting to be pain in the butt or anything but on top of the forum it reads:

Providing links to download individual portions of the WAIK, including but not limited to wimgfltr components, will earn you the right to be banned without further notice as per forum rule 1b.

Since this clearly seems individual part of WAIK and its defenetly not official MS link then i suggest you replace it with RC WAIK link to avoid any problems with admins: http://www.microsoft.com/downloads/details...35-d30ead27ef72

0

Share this post


Link to post
Share on other sites

@Yurek3

no de-DE is the language of the LP.cab

0

Share this post


Link to post
Share on other sites

if you have the LP for 7127 it should work.

0

Share this post


Link to post
Share on other sites

Many thanks @Yurek3, succesfully integrated slovak MUI into 7127 WIn 7 x64 image on Vista x64 SP2 with installed WAIK 7 RC. Finally :-)

0

Share this post


Link to post
Share on other sites

thnx man rly good post to :D

i have one question and i rly need help with it if some one can help me..

im tryin to make the windows7 bootable but i cant.. vLite does not work, ive added the wimgapi.dll file to the vLite folder but still it does not work..

And ive tried this one to

the CDIMAGE.exe command to make it bootable but im getting an error like this and i dont knwo if ive done it right..

Here is a pic:

mphrakJnr.jpg

Edited by lenti
0

Share this post


Link to post
Share on other sites

****EXXXXXCELLLLENTTTT*****

Hi im from "türkiye", my english is not very perfect but i can understand your knowledge!!!

AND I DID IT... IT WORKS PERFECTLY!!! AND THANKS YOU A LOT!!!! THANKS YOU SO MUCH!!!!

I TRIED THIS STEPS ON, WINDOWS 7 ULTIMATE BUILD 7127 X86 EN-US, I TRANSFORMED THE OS TO TR LANGUAGE.

AND NOW ITS WORKING PERFECTLY LIKE ORIGINAL OEM PRODUCT!!! ITS NOW %100 TURKISH LANGUAGE!!!

I APLLIED YOUR STEPS IN THE KNOWLAGE JUST!!! THANK YOU...... GOOD BYESSSS

0

Share this post


Link to post
Share on other sites

MagicAndre1981

@echo Off

rem ######################################################################

rem # Configure Paths here #

rem ######################################################################

set WORKLW=C:

set WORKDIR=7Work

set WAIK=C:\Program Files\Windows AIK

set LANG=de-DE You can make here for feature do not need change de-DE .pl-PL etc.

rem ######################################################################

rem # AB HIER NICHTS MEHR ÄNDERN !!!! #

rem ######################################################################

set WIM=%WORKLW%\%WORKDIR%\Mount

set WD=%WORKLW%\%WORKDIR%\DVD

set LP=%WORKLW%\%WORKDIR%\LP\lp.cab

set ELP=%WORKLW%\%WORKDIR%\LPEXT

set ISO=%WORKLW%\%WORKDIR%\ISO

Echo Geben sie die Version an:

Echo 1 - Starter

Echo 2 - HOMEBASIC

Echo 3 - HOMEPREMIUM

Echo 4 - Professional

Echo 5 - Ultimate

Set /p EDITION=Zahl:

Echo.

%WORKLW%

cd %WORKDIR%

echo =====================================

echo Aktualisiere "install.wim"

echo =====================================

echo.

echo Mounte "install.wim" nach "%WIM%"...

"%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\install.wim" %EDITION% "%WIM%"

pause

echo Integriere Sprachpaket von "%LP%...

"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Add-Package /PackagePath:%LP%

echo Setzte Sprache "%LANG%" als Oberflaechensprache...

"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-UILang:%LANG%

echo Setzte Sprache "%LANG%" als Benutzersprache...

"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-UserLocale:%LANG%

echo Setzte Sprache "%LANG%" als Systemsprache...

"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-SysLocale:%LANG%

echo Setzte Sprache "%LANG%" als Eingabesprache...

"%WAIK%\Tools\x86\Servicing\DISM.exe" /Image:%WIM% /Set-InputLocale:%LANG%

do not unmoute and integrate Meany language from folder LP/LP1 ,LP2 next,next,onetime we can integrate Meany language

echo Erstelle "lang.ini"...

"%WAIK%\Tools\x86\intlcfg.exe" -genlangini -dist:"%WD%" -image:"%WIM%" -f

echo Packe und Unmounte "install.wim"...

"%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"

echo =====================================

echo Aktualisiere "boot.wim"

echo =====================================

echo.

Rd /S /Q "%ELP%"

Mkdir "%ELP%"

echo Entpacke Sprachpaket "%LANG%" nach "%ELP%"

Expand "%LP%" -f:* "%ELP%"

echo Kopiere Dateien...

Xcopy "%ELP%\setup\sources\%LANG%\*" "%WD%\sources\%LANG%" /cherkyi

Xcopy "%ELP%\sources\license\%LANG%\*" "%WD%\sources\license\%LANG%" /cherkyi

echo Mounte "boot.wim" nach "%WIM%"...

"%WAIK%\Tools\x86\Imagex.exe" /mountrw "%WD%\Sources\boot.wim" 2 "%WIM%"

echo Kopiere Dateien...

Xcopy "%ELP%\setup\sources\%LANG%\*" "%WIM%\sources\%LANG%" /cherkyi

Xcopy "%ELP%\sources\license\%LANG%\*" "%WIM%\sources\license\%LANG%" /cherkyi

Copy "%WD%\sources\Lang.ini" "%WIM%\sources\Lang.ini"

Rd /S /Q "%ELP%"

And in boot.wim too do not unmoute now and copy all information to integrate few language onetime

echo Packe und Unmounte "boot.wim"...

"%WAIK%\Tools\x86\Imagex.exe" /unmount /commit "%WIM%"

echo.

echo Das Languagepack wurde integriert!

echo.

echo Erstelle bootbares ISO...

"%WAIK%\Tools\x86\oscdimg.exe" -n -m -betfsboot.com "%WD%" "%ISO%\Windows 7.iso"

echo Alles erledigt! Das ISO befindet sich im Verzeichnis "%ISO%"

pause

Thanks for interesting for my question.

Edited by Yurek3
0

Share this post


Link to post
Share on other sites

what do you want? Sorry but it is very hard to understand

0

Share this post


Link to post
Share on other sites

Sorry for my english but I wont use your .cmd file to integrate few language in onetime

0

Share this post


Link to post
Share on other sites

The batch is working for me with some minor modifications ...

don't forget to create all the dirs >>> Mount,LP, LPEXT and ISO before starting the batch to avoid problems with initialising dir variables.

note : run the batch called for me "Start.bat" from dir "7Work" with Administrator rights

iso building is working but you need to put the file "etfsboot.com" from DVD \Boot dir in root dir "c:\ 7Work"

Successfull 7137 french x86 and x64 integration with this batch file.

using WAIK version 7100

Warning you need to choice "5" for x86 and "4" for x64 at the begin.

0

Share this post


Link to post
Share on other sites

hi,

i tried to integrate german language to build 7229 x64, process was successfull but installation stops after expanding files to hdd with the error:

Offline localization failed .... (in german: Offline Gebietsschema ....)

i couldnt mount the install.wim with image index 4:

Mount Path:	D:\7Work\Mount
Image File: D:\7Work\DVD\sources\install.wim
Image Index: 4
Mounted R/W: 1

Opening WIM...please wait...

ERROR: Unable to mount image.
ERROR: ???

iso name: 7229.0.090604-1901_x64fre_client_en-us_OEM_Ultimate-GRMCULXFREO_EN_DVD.iso

any ideas??

0

Share this post


Link to post
Share on other sites
Ok, tool is done now =)

http://danielsteiner.net/blog.php/?page_id=84

you can now easily integrate languagepacks but you neet to run it on windows 7 and as admin

thanks for this very helpful tool :thumbup

i have successful integrate a german LP to build 7229. :rolleyes:

But after the integration i can´t use VLite to shrink the installation. VLite still crashes.

Any solution for the this?

0

Share this post


Link to post
Share on other sites
hi,

i tried to integrate german language to build 7229 x64, process was successfull but installation stops after expanding files to hdd with the error:

Offline localization failed .... (in german: Offline Gebietsschema ....)

i couldnt mount the install.wim with image index 4:

Mount Path:	D:\7Work\Mount
Image File: D:\7Work\DVD\sources\install.wim
Image Index: 4
Mounted R/W: 1

Opening WIM...please wait...

ERROR: Unable to mount image.
ERROR: ???

iso name: 7229.0.090604-1901_x64fre_client_en-us_OEM_Ultimate-GRMCULXFREO_EN_DVD.iso

any ideas??

Same problem...... cant load WIM file anymore, maybe because its still loaded.

But i cannot unmount the WIM either because it is not listed, and the files in the WIM are unerasable.....

Any Ideas everybody ?

Edit: Found the friggin Answer for my Problem ;-)

for anyone who might have the same Problem, just do the following:

1.start CMD in Admin-mode and put in

dism.exe /Cleanup-Wim

2.Maybe Restart....

3.Enjoy 8-)

Edited by Winnydows 7
0

Share this post


Link to post
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.