MSFN Forum: Remove images at install.wim - 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

Remove images at install.wim More light install.wim file Rate Topic: -----

#1 User is offline   joseba 

  • Group: Members
  • Posts: 1
  • Joined: 17-March 08

Posted 21 July 2008 - 05:50 AM

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


#2 User is offline   spacesurfer 

  • Pharmassist
  • Group: Patrons
  • Posts: 1,668
  • Joined: 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 21 July 2008 - 06:38 AM

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.

This post has been edited by spacesurfer: 21 July 2008 - 06:38 AM


#3 User is offline   oskingen 

  • MSFN Friend
  • PipPipPipPip
  • Group: Members
  • Posts: 613
  • Joined: 20-January 08
  • OS:none specified
  • Country: Country Flag

Posted 21 July 2008 - 07:15 AM

yeah vlite is a good alternative and easier to use than tool with WAIK

#4 User is offline   randalldale 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-November 04

Posted 12 August 2008 - 01:26 AM

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.

#5 User is offline   steve6375 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 25-November 04

Posted 01 September 2008 - 04:21 PM

View Postrandalldale, on Aug 12 2008, 01:26 AM, said:

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.micro...y/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

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