mionica Posted November 25, 2006 Posted November 25, 2006 @nuhiit occured to me that, at least in the version of xp/sp2 i have, tcpip.sys does not reside in the driver .cab's, instead it is outside of them.would it be complicated to trigger driver recompression only if tcpip.sys resides in one of those .cab's?however, if there is another reason for triggering recompression, could you tell it to me?
mionica Posted November 26, 2006 Author Posted November 26, 2006 @nuhiAnother thing, regarding drivers. I assume it would be possible to leave the driver .cab's unaltered at all times. For instance, if an addon (RVM Update Pack, for instance) would need to replace a file (say, ntoskrnl.exe) belonging to a driver .cab, wouldn't it be much faster to just copy the new file to \i386, pack it, and remove its entry from drvindex.inf?I'm currently testing if this would work. But it makes sense, since dosnet.inf tells setup anyway which files should be copied, regardless of their location (in \i386 or in the .cab's).I, for one, would greatly enjoy not having to wait for ages for driver recompression to take place. It would be great if nLite would give me this option.This is my first point. Further reasoning would go like this:- if drivers recompression occurs, with compression set to LZX:21, setup gets extremely slow (and cpu-intensive) during textmode setup - particularily annoying during VM test sessions- if drivers recompression occurs, with default compression (MSZIP?), the resulting .cab's are much larger than the initial ones.Consider that once makecab'ed with LZX:21, all files needing update until now in both driver.cab and sp2.cab (I'm talking RyanVM's UP now) take up only 5.48MB, which is by far less that the overhead the default compression takes.Regards.
nuhi Posted November 26, 2006 Posted November 26, 2006 tcpip sys file has a copy in the driver.cab and if not replaced it replaces the patched version along the way.I chose the optimum settings for the LZX compression, no significant slowdowns as you would normally get, search for the folder size CAB entry.
Camarade_Tux Posted November 26, 2006 Posted November 26, 2006 LZX:21 is fastest to expand than MSZIP.
mionica Posted November 29, 2006 Author Posted November 29, 2006 (edited) @nuhijust in which OS versions does that happen?I have a WinXP SP2, which I manually converted to VLK (changed the setupp.ini$[Pid]$Pid value); I got it by integrating SP2 over the RTM (using the good old /integrate switch of the SP).My driver.cab is dated august 23, 2001 and it does not contain tcpip.sys. Also, my sp2.cab is dated august 3, 2004, and it also doesn't contain tcpip.sys.The t*.sys files I have are (alphabetic listing)- in driver.cab: t2r4mini.sys, tandqic.sys, tbatm155.sys, tdk100b.sys, ... ;- in sp2.cab: termdd.sys, ...Could you at least check if CABs rebuilding is necessary?--And one more thing. You saidI chose the optimum settings for the LZX compression, no significant slowdowns as you would normally get, search for the folder size CAB entry.Could you develop a bit further, or post a link which does so? I'm afraid I didn't get the picture. Edited November 29, 2006 by mionica
nuhi Posted November 29, 2006 Posted November 29, 2006 You're right, I mixed up usbport patch with the tcpip. I will actually disable the recompression for that one, nice find. I just don't like your tone but what the hell...I'll just complain a little.
mionica Posted November 30, 2006 Author Posted November 30, 2006 @nuhiSorry for my "tone" - I didn't mean to offend you, or anything (and I couldn't want to, since I - like many others - owe you a great debt of gratitude for creating nLite, which I use every month at least 2 times ). Try to imagine me as expansive (which I am), or childish (same) instead of disprespectful (which I am not, at least not towards you).And the other thing I asked clarification on?search for the folder size CAB entry.What's the foder size CAB entry, or if it would take too long to explain, where can I find the appropriate informative resources?
nuhi Posted December 1, 2006 Posted December 1, 2006 k,here you gohttp://www.msfn.org/board/index.php?showto...27465&st=10keyword FolderSizeThreshold
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now