Hi, I've added a fix for this. It's caused by the WIM image specifying FILE_ATTRIBUTE_SPARSE on every file and NTFS wasting space when this attribute is actually set on files. This is primarily a bug in the WIM image itself, since presumably all the files should not, in fact, be marked as sparse. However, the workaround is to simply ignore FILE_ATTRIBUTE_SPARSE, which seems to be what the Microsoft implementation does. Sometime I might add proper support for extracting sparse files, although if done by default it will have to be subject to some heuristic in order to not run into this problem you experienced.
You can download and test the updated v1.6.3-BETA if you have time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There seems to be a problem with MSDN windows 7 wim files.
Applied images takes much more space on the destination drive.
[WARNING] The WIM image contains invalid hard links. Fixing.
Applying image 1 ("Windows 7 STARTER") from "G:\sources\install.wim" to directory "X:\"
Extracting files: 4769 MiB of 4769 MiB (100%) done
Setting timestamps on all extracted files...
Done applying WIM image.
But on drive X:\ are 6,3 GB occupied
Using imagex results in 4,86 GB occupied
This only happens with Windows 7 Wim's. Nor problem with vista and windows 8
Hi, I've added a fix for this. It's caused by the WIM image specifying FILE_ATTRIBUTE_SPARSE on every file and NTFS wasting space when this attribute is actually set on files. This is primarily a bug in the WIM image itself, since presumably all the files should not, in fact, be marked as sparse. However, the workaround is to simply ignore FILE_ATTRIBUTE_SPARSE, which seems to be what the Microsoft implementation does. Sometime I might add proper support for extracting sparse files, although if done by default it will have to be subject to some heuristic in order to not run into this problem you experienced.
You can download and test the updated v1.6.3-BETA if you have time.
Perfect, the new beta, works alright.
Thank you.