MSFN Forum: How can i remove a language pack with peimg - MSFN Forum

Jump to content



Windows Vista Forum Rules

If you have questions about customizing Windows Vista that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows Vista, please post them in the Unattended Windows Vista/Server 2008 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How can i remove a language pack with peimg Rate Topic: -----

#1 User is offline   Kullenen_Ask 

  • Member
  • PipPip
  • Group: Members
  • Posts: 245
  • Joined: 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 27 June 2008 - 01:08 AM

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


#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 6,988
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 June 2008 - 09:43 AM

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.

#3 User is offline   Kullenen_Ask 

  • Member
  • PipPip
  • Group: Members
  • Posts: 245
  • Joined: 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 28 June 2008 - 03:22 AM

View PostTripredacus, on Jun 27 2008, 10:43 AM, said:

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.

This post has been edited by Kullenen_Ask: 28 June 2008 - 03:46 AM


#4 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 6,988
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 June 2008 - 07:59 AM

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

#5 User is offline   Kullenen_Ask 

  • Member
  • PipPip
  • Group: Members
  • Posts: 245
  • Joined: 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 July 2008 - 05:06 PM

View PostTripredacus, on Jun 30 2008, 07:59 AM, said:

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy