Jump to content

Recommended Posts

Posted

As far as I understand Win Toolkit uses dism to remove components.

 

An original German Win 7 Enterprise DVD has 4 integrated language packs (as shown in the component remover part of Win Toolkit):

 

French -> Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514

German -> Package_for_KB976933~31bf3856ad364e35~amd64~de-DE~6.1.7601.17514

Japanese -> Package_for_KB976933~31bf3856ad364e35~amd64~ja-JP~6.1.7601.17514

Spanish-> Package_for_KB976933~31bf3856ad364e35~amd64~es-ES~6.1.7601.17514

 

Let's say I want to remove all the Japanese language stuff.

 

If I search for *ja-jp* in the folder where I mounted the install.wim I get dozens of entries for directories and files.

 

But there is no .cab file in there that I could use for a command like:

Dism /Image:D:\<mounted install.wim folder> /Remove-Package /PackagePath:D:\<mounted install.wim folder>\...\<xxx.cab>

 

So how do I remove all the japanese language stuff (not via Win Toolkit) but on a cmd with admin rights?

 

Thanks for any answers!

 

Posted

You use /PackageName not /PackagePath

Dism /Image:D:\<mounted install.wim folder> /Remove-Package /PackageName:Package_for_KB976933~31bf3856ad364e35~amd64~ja-JP~6.1.7601.17514
Some ja-JP folders are added by some updates/hotfixes (like virtual pc and others,) you cannot remove them unless you remove all the updates that added them or you can manually remove them

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...