I think i have figured out a way to estimate the size of the install.wim for the rebuild process because at the moment you get just whatever its done so far i.e. 345MB. But with this idea if it works it will shows an estimate i.e. "Rebuilding.... 345.17 / 1300.85MB"
Ok ive gotten the size of the VsTemp19 folder in vLite temp folder in bytes and install.wim size in bytes too after rebuild(remember using "Size on Disk")
1st Test
VsTemp19: 6,545,445,238
Install.wim: 1,558,495,232
VsTemp19 / Install.wim = 4.19 (i have rounded the decimals)
2nd Test
VsTemp19: 6,162,133,366
Install.wim: 1,463,308,288
VsTemp19 / Install.wim = 4.2
3rd Test
VsTemp19: 5,555,974,518
Install.wim: 1,306,759,168
VsTemp19 / Install.wim = 4.3
Result
The Install.wim is around 4.2-4.3x smaller than the VsTemp19 Folder
So lets say i use 4.25 (average), excel said it was 4.22 but oh well
If i made a random vlite and its VsTemp19 folder was 5,555,974,518bytes and then divide that by 4.25 i get 1,307,288,121.88bytes
for the people who cant be assed to do maths i'll divide that by 1048576 (so its in MB) = 1246.73MB
So the install.wim during the rebuild process is going to be around 1246.73MB, so on the rebuilding process it would say "Rebuilding 345.17 / 1246.73MB" (remember that its just an estimate but it will give the user an idea of how long they have to wait).
Simple Explanation
VsTemp19 / 4.25 = A
A / 1048576 = Estimated Size of install.wim
(VsTemp19 / 4.25) / 1048576 = install.wim
For Nuhi: Have to get it before vlite clears the vstemp19 folder when on the rebuild process
Conlusion(Usining 4.25 with tests 1,2 & 3)
Test1
VsTemp19: 6,545,445,238
Estimated Install.wim = 1468.76MB
Actual install.wim = 1486.30MB
Test2
VsTemp19: 6,162,133,366
Estimated Install.wim = 1382.75MB
Actual install.wim = 1395.52MB
Test3
VsTemp19: 5,555,974,518
Estimated Install.wim = 1246.73MB
Actual install.wim = 1246.22MB
As you can seeit actually works, it has pretty close like if using 4.25 test 1 is 22.46MB off and in test 3 is only 0.51MB off!!
P.S. Excel did all the calculations for me so im not a maths genius lmao
This post has been edited by legolash2o: 10 November 2007 - 06:44 AM



Help

Back to top









