Jump to content

How can i remove a language pack with peimg


Kullenen_Ask

Recommended Posts

i can integrate a languagepack like this

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

pause

"%WAIK%\Tools\PETools\peimg.exe" /list "%WIM%\Windows"

pause

"%WAIK%\Tools\PETools\peimg.exe" /import="%LP%" "%WIM%\windows"

pause

"%WAIK%\Tools\PETools\peimg.exe" /install=*LanguagePack* "%WIM%\windows"

pause

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

pause

"%WAIK%\Tools\PETools\peimg.exe" /lang=%LANG% "%WIM%\Windows"

pause

"%WAIK%\Tools\PETools\peimg.exe" /timezone=%LANG% "%WIM%\Windows"

pause

"%WAIK%\Tools\PETools\peimg.exe" /list "%WIM%\Windows"

pause

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

pause

but i don't know how to remove a language pack with peimg. this command

"%WAIK%\Tools\PETools\peimg.exe" /uninstall=*LanguagePack* "%WIM%\windows"

not works as i want

Link to comment
Share on other sites


after you mount your image, try peimg /list to see a list of installed packages. The name your package has might differ than what you are typing in.

but there are 3 from same packet and all in same name only languages are different, if i use to uninstall command it removes all. forexample there is main package, english mui of that package and turkish mui of same package, i cant select seperately to remove, i cant remove only english mui of that package forexample. can i tell peimg to remove by language of a component.

Preinstallation Environment Image Setup Tool for Windows

Copyright © Microsoft Corporation. All rights reserved.

Culture: tr-TR

Time zone offset: (GMT+02:00) Athens, Bucharest, Istanbul

Time zone name: "GTB Standard Time" (use with /timezone)

Scratch space: 32 MB

Target Path: X:\

Lang | Version | Ins | Name

------+--------------------+-----+-----------------------------------------------

|6.0.6001.18000 | + | Microsoft-Hyper-V-Common-Drivers-Package

------+--------------------+-----+-----------------------------------------------

|6.0.6001.18000 | + | Microsoft-Hyper-V-Guest-Integration-Drivers-Package

------+--------------------+-----+-----------------------------------------------

|6.0.6001.18000 | + | Microsoft-Windows-DFSR-ServerEdition-Package

------+--------------------+-----+-----------------------------------------------

|6.0.6001.18000 | + | Microsoft-Windows-Foundation-Package

------+--------------------+-----+-----------------------------------------------

en-US |6.0.6001.18000 | + | Microsoft-Windows-NetFx3-OC-Package ---------------->

------+--------------------+-----+----------------------------------------------- }

tr-TR |6.0.6001.18000 | + | Microsoft-Windows-NetFx3-OC-Package -----------------> } same name i need to remove only en-us

------+--------------------+-----+----------------------------------------------- }

|6.0.6001.18000 | + | Microsoft-Windows-NetFx3-OC-Package ----------------->

------+--------------------+-----+-----------------------------------------------

|6.0.6001.18000 | + | Microsoft-Windows-Printing-XPSServices-Package

------+--------------------+-----+-----------------------------------------------

en-US |6.0.6001.18000 | + | Microsoft-Windows-Server-LanguagePack-Package

------+--------------------+-----+-----------------------------------------------

tr-TR |6.0.6001.18000 | + | Microsoft-Windows-Server-LanguagePack-Package

------+--------------------+-----+-----------------------------------------------

|6.0.6001.18000 | + | Microsoft-Windows-ServerEnterpriseVEdition

------+--------------------+-----+-----------------------------------------------

Listed 11 package(s).

PEIMG completed the operation successfully.

Edited by Kullenen_Ask
Link to comment
Share on other sites

Hmm that is indeed annoying. Is it too much to remove them all and just add back the ones you want?

no. it not works. i think i found somewhere else. they are creating and xml and using pkgmgr to remove. i dont know if it removes the files also or only dont installs. because its name seen by peimg but with a minus sign.

http://support.microsoft.com/kb/940410

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