Jump to content

Removing Languages


flamandu

Recommended Posts


You can remove all languajes from an original ISO with vlite, in "Components" selecting the languajes.

If you have an ISO made with vlite with a languaje pack integrated by you, and now you want to remove this, I think it is not possible...

Link to comment
Share on other sites

That is realy easy.

Open install.wim with WAIK.

Select Language pack. Add to answer file. Configure it to remove.

That run pkgmgr in commandline with answer file.

Installation must contain a language pack.

For example u have English MSDN DVD.

But u want to make it Bulgarian.

First add Bulgarian language pack.

Change default language to bg-BG

Then remove english language pack.

intlcfg.exe -all:bg-BG -image:"Offlinedir"
<?xml version="1.0" encoding="utf-8"?>

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

<servicing>

<package action="remove">

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

</package>

</servicing>

</unattend>

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

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

<servicing>

<package action="remove">

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

</package>

</servicing>

</unattend>

Link to comment
Share on other sites

Sorry for double post.

I prefer to change MSDN DVDs to my language then slipstream SP1 to my old DVD source.

PS:

Allready did it.

11 in 1 all in my language. All of them work without any problem because of services or etc.

Link to comment
Share on other sites

That is realy easy.

Open install.wim with WAIK.

Select Language pack. Add to answer file. Configure it to remove.

That run pkgmgr in commandline with answer file.

Installation must contain a language pack.

For example u have English MSDN DVD.

But u want to make it Bulgarian.

First add Bulgarian language pack.

Change default language to bg-BG

Then remove english language pack.

intlcfg.exe -all:bg-BG -image:"Offlinedir"
<?xml version="1.0" encoding="utf-8"?>

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

<servicing>

<package action="remove">

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

</package>

</servicing>

</unattend>

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

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

<servicing>

<package action="remove">

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

</package>

</servicing>

</unattend>

I think that for the x64 system should be:

No?

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

<servicing>

<package action="remove">

<assemblyIdentity name="Microsoft-Windows-Client-LanguagePack-Package" version="6.0.6000.16386" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="en-US" />

</package>

</servicing>

</unattend>

I tried to do that with an unattended.xml but it didn't worked. I will try one more time. Anyway thanks eryen :sneaky:

Link to comment
Share on other sites

sorry for double post, but is there any way to do that with an batch script? I have already mhyll's batch script for adding languages, that works 100% and maybe someone can do all the commands in one batch script. That whould be appreciated.

My appologies for the double post! :rolleyes:

Link to comment
Share on other sites

imagex /mountrw E:\install.wim 1 E:\Wim

start /w pkgmgr /ip /m:"E:\sp1\x86tr\lp-tr-tr\Update.mum" /o:"E:\Wim\;E:\Wim\Windows" /s:"E:\sp1\TEMP"

intlcfg.exe -all:tr-TR -image:"E:\Wim"

start /w pkgmgr /o:"E:\Wim\;E:\Wim\Windows" /n:"E:\x86.rem.Lang.xml"

ImageX /unmount /commit E:\Wim

I use this batch for it.

I hope u know commands.

Basicly.

My Offline dir is E:\Wim

Offline windows dir E:\Wim\Windows

My Turkish lang files extracted at E:\sp1\x86tr\lp-tr-tr\

U can change "1" in first line to use another version in install.wim

Also dont forget to set path for WAIK on first lines of batch file.

PATH "C:\WINDOWS\system32";"C:\WINDOWS";"C:\WINDOWS\System32\Wbem";"%PROGRAMFILES%\Windows Imaging\";"%PROGRAMFILES%\Windows AIK\Tools\x86";"%PROGRAMFILES%\Windows AIK\Tools\x86\Servicing"

SET TEMP=E:\sp1\TEMP1

SET TMP=E:\sp1\TEMP1

Link to comment
Share on other sites

Thats why it didn't worked, I didn't set the paths to WAIK. Can you rewrite your batch in one file again please but with the paths to Windows AIK?

I only want to remove the english language from the install.wim . For integrating another language i have another script.

Thanks

Link to comment
Share on other sites

PATH "%WINDIR%\system32";"%WINDIR%";"%WINDIR%\System32\Wbem";"%PROGRAMFILES%\Windows Imaging\";"%PROGRAMFILES%\Windows AIK\Tools\x86";"%PROGRAMFILES%\Windows AIK\Tools\x86\Servicing"

REM This will mount your "E:\install.wim" "1" number image to "E:\Wim" folder. You have to create folder first. change those to your folders

imagex /mountrw E:\install.wim 1 E:\Wim

REM This will change your default language.. Edit. tr-TR with your lang string

intlcfg.exe -all:tr-TR -image:"E:\Wim"

REM This will remove english language from install.wim. x86.rem.lang.xml wroten down

start /w pkgmgr /o:"E:\Wim\;E:\Wim\Windows" /n:"E:\x86.rem.Lang.xml"

REM this will commit changes for your install.wim

ImageX /unmount /commit E:\Wim

This is x86.rem.lang.xml

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

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

<servicing>

<package action="remove">

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

</package>

</servicing>

</unattend>

DO NOT FORGET. Install.wim must allways have a language pack.

If your install.wim have only one language.

First add your local.

Set default language to your local.

Then remove english language....

Link to comment
Share on other sites

U just modified install.wim.

I also have to mod boot.wim too.

Mount boot.wim 2 (Setup)

In sources folder. There is a file named lang.ini.

probbaly looks like this. Sorry i dont know. Romanian string. I just wrote ro-RO

[Available UI Languages]

ro-RO = 1

en-US = 3

[Fallback Languages]

ro-RO = en-us

Do it like this.

[Available UI Languages]

ro-RO = 3

[Fallback Languages]

ro-RO = en-us

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