Jump to content

problem with WAIk and language cab


Recommended Posts

Hi,

I'm trying to add a new language to my vista by using WAIK and im at that step:

"Intlcfg -genlangini -dist:c:\windows_distribution -image:c:\wim_mount -all:de-DE"

(i replace de-DE by fr-fr (my language))

it tells me that:

"ERROR: API call failed with following error(s):

Could not set UI Language.

UI language is not installed.

ERROR: IntlCfg has encountered an error."

When i type: "C:\Program Files\Windows AIK\Tools\x86\Intlcfg.exe" -report -dist:D:\windows_distribution

it tells me that:

"

D:\>"C:\Program Files\Windows AIK\Tools\x86\Intlcfg.exe" -report -dist:D:\windows_distribution

Reporting distribution languages...

The default language in the distribution is:

en-US

The other available languages in the distribution are:

fr-fr

"

Can someone help me please ?

[edit]: are there ways, easier than that to add language ?

thank in advance.

Edited by nuja
Link to comment
Share on other sites


Hi

You first need to install the language pack into your mounted vista wim, to do that you need to create an xml which includes your lp.cab.

It may look like this:

	?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="install">
<assemblyIdentity name="Microsoft-Windows-Client-LanguagePack-Package" version="6.0.6000.16386" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="fr-FR" />
<source location="D:\lp.cab" />
</package>
</servicing>
<cpi:offlineImage cpi:source="wim:D:/windows_distribution/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

And then in your "PE Tools command prompt" type this:

Servicing\pkgmgr /o:"C:\wim_mount\;C:\wim_mount\Windows" /n:"D:\Your.xml"

Installation will take a while...

After this you can set your language to default with intlcfg command:

intlcfg -genlangini -dist:D:\windows_distribution -image:c:\wim_mount -defaultlang:fr-FR -all:fr-FR

And then unmount your image:

imagex /unmount /commit c:\wim_mount

Link to comment
Share on other sites

Hi,

thanks a lot, it was driving me crazy to try many things and to see nothing work. In the xml code u posted i saw x86, im going to use the x64 version, do i just need to replace x86 by x64 ?

Thank in advance

Link to comment
Share on other sites

My "pkgmgr.exe" is in "C:\Program Files\Windows AIK\Tools\Servicing" and when I type "pkgmgr /o:"D:\wim_mount\;D:\wim_mount\Windows" /n:"D:\Your.xml""

nothing happend ;x

What should i do ? may need something ?

thank in advance ++

Link to comment
Share on other sites

I have got that error in the log =>

"2007-02-03 16:02:50, Error CBS Pkgmgr: Failed unattend install: Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~fr-FR~6.0.6000.16386, hr: 0x80070057

2007-02-03 16:02:50, Info CBS Pkgmgr: return code: 0x57"

My Your.xml:

"<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<servicing>

<package action="install">

<assemblyIdentity name="Microsoft-Windows-Client-LanguagePack-Package" version="6.0.6000.16386" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="fr-FR" />

<source location="D:\lp.cab" />

</package>

</servicing>

<cpi:offlineImage cpi:source="wim:D:/windows_distribution/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>"

My vista is an Ultimate x64 only.

[edit]: when i try to open an image with Windows System Image Manager, it crashes ;x, i got a windows talking about error and net framework.

thank in advance

Edited by nuja
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...