WIAK Changes not applied to image..!? I simply can't get the size smaller...
#1
Posted 21 December 2006 - 05:20 AM
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
Posted 21 December 2006 - 07:52 AM
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
#4
Posted 22 December 2006 - 06:08 AM
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
Posted 22 December 2006 - 06:44 AM
Quote
#6
Posted 22 December 2006 - 07:57 AM
maxXPsoft, on Dec 22 2006, 03:44 PM, said:
Quote
Excellent, thank you both!
..and thanks for the VistaUA, still pokin' in it...will give report later on when things are coming together
#7
Posted 24 December 2006 - 03:40 AM
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..
This post has been edited by Clint: 24 December 2006 - 03:41 AM
#8
Posted 24 December 2006 - 11:47 AM
ImageX /export /check /compress maximum C:\windows_distribution\sources\install.wim 4 C:\newinstall.wim
This will recompress the image.
Merry Christmas!
Martin
#9
Posted 24 December 2006 - 02:03 PM
thanks!
This post has been edited by Clint: 24 December 2006 - 02:03 PM
#10
Posted 24 December 2006 - 11:24 PM
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...
This post has been edited by Clint: 25 December 2006 - 12:04 AM
#11
Posted 25 December 2006 - 03:21 AM
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.
Martin
#12
Posted 25 December 2006 - 06:04 AM
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
Posted 25 December 2006 - 07:52 PM
#14
Posted 26 December 2006 - 12:29 AM



Help

Back to top









