MSFN Forum: WIAK Changes not applied to image..!? - MSFN Forum

Jump to content



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

WIAK Changes not applied to image..!? I simply can't get the size smaller... Rate Topic: -----

#1 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 21 December 2006 - 05:20 AM

Hi, I'm just about to get started on this...after a few trials with mounting and unmounting the install.wim after editing the image I must ask you guys.

I remove stuff here and there after a succesfull mount of the install.wim, I give the command "imagex /unmount /commit C:\Vista.Mount" and it closes fine.

But the install.wim is still the same size?
Even when I mount the install.wim again I can see that the files are gone, the size is smaller in the repoistory for example...but the install.wim are the same size as before?

And as soon as I reboot the files are back there???

...how in heavens should I do this?

I run this under XP2p2 with admin rights under my account, and the latest RTM of the WAIK.

Thanks!


#2 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 21 December 2006 - 07:52 AM

Hello Clint,

you need to export the install.wim into an other file to get the size reduced:

ImageX /export /check C:\windows_distribution\sources\install.wim * C:\newinstall.wim


Martin

#3 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 21 December 2006 - 11:17 PM

Aha, that we will try!

Thanks! :)

#4 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 22 December 2006 - 06:08 AM

Sorry, Clint!

I've forgot to mention, that you have to insert the right image number instead of *.

Example:

ImageX /export /check C:\windows_distribution\sources\install.wim 4 C:\newinstall.wim



The newinstall.wim will be the new .wim file. You have to replace the old one in sources with this new one - rename the newinstall.wim to install.wim.


Martin

#5 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 December 2006 - 06:44 AM

Quote

ImageX /export /check C:\windows_distribution\sources\install.wim 1 C:\newinstall.wim "Windows Vista BUISNESS"
Name is required if you are going to re-deploy a custom Install.wim with Windows Setup. The straight quotation marks are required. This flag is not required if you deploy the image by using ImageX.

#6 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 22 December 2006 - 07:57 AM

View PostmaxXPsoft, on Dec 22 2006, 03:44 PM, said:

Quote

ImageX /export /check C:\windows_distribution\sources\install.wim 1 C:\newinstall.wim "Windows Vista BUISNESS"
Name is required if you are going to re-deploy a custom Install.wim with Windows Setup. The straight quotation marks are required. This flag is not required if you deploy the image by using ImageX.


Excellent, thank you both! :thumbup

..and thanks for the VistaUA, still pokin' in it...will give report later on when things are coming together ;)

#7 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 24 December 2006 - 03:40 AM

Ok, this is getting silly...

I first mount the image with:
imagex /mountrw C:\Vista\sources\install.wim 4 C:\Mount.VISTA

I then remove files and stuff from the mounted image worth something like 300mb.

I then unmount it with:
imagex /unmount /commit C:\Mount.VISTA

After that I copy the image:
ImageX /export /check C:\Vista\sources\install.wim 4 C:\newinstall.wim


...but the newinstall.wim is STILL the same size as the original install.wim...???

wtf?!?

this can't be this complicated.. :angry:

This post has been edited by Clint: 24 December 2006 - 03:41 AM


#8 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 24 December 2006 - 11:47 AM

Ok... than you have to do it the "hard" way:


ImageX /export /check /compress maximum C:\windows_distribution\sources\install.wim 4 C:\newinstall.wim


This will recompress the image.

Merry Christmas!

Martin

#9 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 24 December 2006 - 02:03 PM

Ok, gonna try that...!

thanks!

This post has been edited by Clint: 24 December 2006 - 02:03 PM


#10 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 24 December 2006 - 11:24 PM

No, that seems only to be a higher compression...it takes a much longer time to compress with that switch.

Are you meaning this will force the changes to the image as well?

EDIT: After testing I can't see any changes in size from removal of files using that switch.

Can someone please give me a hint on this, this is getting very annoying... :realmad:

This post has been edited by Clint: 25 December 2006 - 12:04 AM


#11 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 25 December 2006 - 03:21 AM

Hello Clint!

I've had some problems with the first command I gave you. That means size was not changed sometimes. But the second one - with compress - has allways been working fine for me... ok sometimes it's not decreasing the size as much as expected, but it's changing the size.

You can use none, fast and maximum with the compress switch. It will only work if you're using the same compress level like it was used when install.wim was created. So you should try, if something will change with the fast setting.

But that's really strange. :unsure: If you're using the /export command only, you're newinstall.wim should be already smaller than the original one. Cause you're exporting only one subimage of install.wim to newinstall.wim. That means that the other six subimages are not exported. So newinstall.wim inclueds much less stuff...

Martin

#12 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 25 December 2006 - 06:04 AM

Problem solved! :thumbup

As you said must I use the same switch as in the original image, so when I apply "/compress fast" it works.
One could think it would work without switch when fast is default...but this is how things are..

Thanks for the help!

#13 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 December 2006 - 07:52 PM

have you mounted it once again and seen if changes did take effect?

#14 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 26 December 2006 - 12:29 AM

View PostmaxXPsoft, on Dec 26 2006, 04:52 AM, said:

have you mounted it once again and seen if changes did take effect?


Yes, changes to both size and image this time. ;)

This post has been edited by Clint: 26 December 2006 - 12:30 AM


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