Jump to content

Remove images at install.wim


joseba

Recommended Posts

Hi

I want to remove completly some images of the install.wim file

Of course, I have tried with imagex /delete (number) ..\install.wim... It removes only the name of the image so it is not possible to use it during installation process. But the install.wim file remains with a big size.

Well, I want to get a CD (no a DVD) with, by instance, only business .... it is possible to get it?

Thanks in advance

Joseba

Link to comment
Share on other sites


Removing images from install.wim will not cut down the size that significantly because the image itself is optimized for compact size. For example, if shell32.dll is in ultimate, business, home premium, basic, etc., then only 1 copy is saved, not 7 or 8. Thus, almost all files in the Windows folder will found in all version of Windows, therefore, each one is only saved once. Hence, deleting one image or all except one will not cut down the size of your install.wim.

The only way of reducing the size I know is vlite.

Edited by spacesurfer
Link to comment
Share on other sites

  • 3 weeks later...

Of course you can always try an export to see if you can cut it down.

imagex /export /boot /compress maximum d:\sources\install.wim 3 c:\business.wim "Add some text to make it work."

(3 being the number of the image you want.)

Not really that hard.

Link to comment
Share on other sites

  • 3 weeks later...
Of course you can always try an export to see if you can cut it down.

imagex /export /boot /compress maximum d:\sources\install.wim 3 c:\business.wim "Add some text to make it work."

(3 being the number of the image you want.)

Not really that hard.

Hi

Just a few other things to be aware of with ImageX:

1. When you apply an image, ImageX will change all junctions (reparse points) to point to the current drive letter.

e.g. If you capture drive C: as image 1, then partition a new disk which WinPe gives letter of D: to, when you apply the Image 1 to D:, ImageX will change the junctions points to point to D: . Now if you boot the hard disk and the partition is now C:, the junction points will still be hard coded to point to D: and will all be incorrect. To check this type DIR C:\ /a:L in Vista - C:\Documents and Settings junction point should point to C:\Users.

To fix this problem, capture the image with the /norpfix switch, this stops ImageX from changing the Junction points. Alternatively, when you apply the image, make sure the drive letter that you apply it to is the same as it will be when the system is booted.

If the junction points are wrong for a Vista OS, then some XP app installers will not work and some XP apps may not work.

(why did MS not set the default as /norpfix ???)

http://technet.microsoft.com/en-us/library/cc749447.aspx

2. Bug in ImageX - if you delete 2 images from a WIM file in succession, it will completely corrupt the WIM file!!!!

See http://support.microsoft.com/kb/947247 (which is inaccurate as it does not mention you have destroyed your WIM file!)

HTH

Steve

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