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
Page 1 of 1
How can i remove a language pack with peimg
#2
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
Posted 28 June 2008 - 03:22 AM
Tripredacus, 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
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
Posted 01 July 2008 - 05:06 PM
Tripredacus, 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



Help

Back to top









