![]() ![]() |
May 6 2006, 02:07 PM Post
#41 | |
| MSFN Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1760 Joined: 22-May 05 From: Paris Member No.: 57090 OS: none |
Today I found my SOURCESS folder after nLite was definitely too big. 117MB ! I would have been happy but a clean XP -SP0- goes down to 110MB. Of course, I add functionnalities with SP1 and other updates but 7MB is IMO too much. I compared files present with and without HFSlip in I386 after nlite and I found that some or rather many DirectX files are present in both I386 and driver.cab. I think this should be cleaner. And it seems it also happens with other files (ntkrnl*.exe) Files in driver.cab and directly in i386 seem to have the same version but I'm not 100% positive. PS: I used "dir /S /B >> dir.txt". If needed, I can provide those listings. |
| | |
May 6 2006, 02:52 PM Post
#42 | |
| MSFN Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1760 Joined: 22-May 05 From: Paris Member No.: 57090 OS: none |
I made a quick and maybe dirty AHK app: CODE FileSelectFolder, I386,,, Select I386 folder FileSelectFile, files, M3, %I386%, Select all the files comming from driver.cab Loop, parse, files, `n { StringTrimRight, A_LoopField2, A_LoopField, 1 IfExist, %I386%\%A_LoopField2%_ FileAppend, %A_LoopField%`r`n, c:\hfslipdriver.cabi386.txt FileGetSize, fsize, %I386%\%A_LoopField2%_, K size+=fsize } FileAppend, `r`nSpace lost on the CD : %size%KB`r`n, c:\hfslipdriver.cabi386.txt MsgBox, %size%KB return You need to extract driver.cab somewhere. Then, at the second dialog, enter the folder you extracted driver.cab to and select all files (ctrl+A). I have 2.2MB of duplicates in my nlited SOURCESS. NB: ntkrnlmp.exe has to be in I386. http://sharpnet.ai-network.net/camarade/duplicates.exe (don't, at least for the moment, it will go public and legal [I hope] later) |
| | |
May 6 2006, 03:27 PM Post
#43 | |
| Newbie Group: Members Posts: 19 Joined: 23-January 05 Member No.: 41799 |
Are DirectX and Windows Installer slipstreamable ? yes, i donīt have any problem. HFSLIP is good slipstreamable tool. (win2k). |
| | |
May 6 2006, 03:48 PM Post
#44 | |
| Friend of MSFN ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 969 Joined: 15-January 06 Member No.: 85355 OS: Vista Ultimate x86 |
Yes. DirectX CABs go in HFCABS (only the *d3dx9* ones) and Windows Installer goes in HF.
|
| | |
May 6 2006, 07:05 PM Post
#45 | |
| MSFN Junkie Group: Software Developers Posts: 3171 Joined: 8-August 05 From: Flanders, Belgium Member No.: 68008 OS: 2000 |
@Camarade_Tux Yes, there are a couple of dupes. It's just that so far nobody ever tried to figure out which files can be deleted and which not. There are several files that have to be both in SOURCESS\I386 and in DRIVER.CAB/SPX.CAB. It's very time consuming to check this for all OS versions and all SP levels so it's not really "top priority". |
| | |
May 6 2006, 08:21 PM Post
#46 | |
| MSFN Expert Group: Software Developers Posts: 1466 Joined: 9-January 04 Member No.: 12184 OS: none |
FYI, Nlite doesn't remove some things when selected. I'm not sure if this is by design or what. I have asked Nuhi a bunch of times to remove some additional files, but the requests fell of deaf ears (or maybe eyes). This is why I created HFCLEANUP. With HFCLEANUP, I can create a ultra slim and updated 2k with no need for nlite. Total duration is about about 8 minutes. Also, FWIW, an NLITEd HFSLIP works best when selecting the merged cabs (A, B or C). This will eliminate a bunch of dupes in the cabs and produces the smallest footprint i386 folder. Camarade_Tux - OT - What is your favorite flavor of linux? |
| | |
May 6 2006, 08:42 PM Post
#47 | |
| MSFN Junkie Group: Software Developers Posts: 3171 Joined: 8-August 05 From: Flanders, Belgium Member No.: 68008 OS: 2000 | FWIW, an NLITEd HFSLIP works best when selecting the merged cabs (A, B or C). This will eliminate a bunch of dupes in the cabs and produces the smallest footprint i386 folder. Just to be sure that we're on the same page... Camarade_Tux correctly noticed that all new driver cab binaries are copied "loose" into SOURCESS\I386 as well even though some of them (possibly the majority) don't have to be. HFSLIP doesn't delete them from the working folder after they are added into DRIVER.CAB or SPX.CAB.
|
| | |
May 7 2006, 02:06 AM Post
#48 | |
| MSFN Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1760 Joined: 22-May 05 From: Paris Member No.: 57090 OS: none |
Quickly, with only SP1 slipstreamed (will check with no SP slipstreamed later):
This post has been edited by Camarade_Tux: May 7 2006, 02:06 AM |
| | |
May 7 2006, 03:37 AM Post
#49 | |
| MSFN Junkie Group: Software Developers Posts: 3171 Joined: 8-August 05 From: Flanders, Belgium Member No.: 68008 OS: 2000 |
See how difficult it is? |
| | |
May 7 2006, 11:59 AM Post
#50 | |
| MSFN Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1760 Joined: 22-May 05 From: Paris Member No.: 57090 OS: none |
I just wanted to make my list complete : Duplicates on a DELL XP SP0 CD: CODE 1394bus.sys 1394vdbg.sys abp480n5.sys acpi.sys acpiec.sys adpu160m.sys aha154x.sys aic78u2.sys aic78xx.sys aliide.sys amsint.sys asc3350p.sys asc3550.sys asc.sys atapi.sys binlsvc.dll cbidf2k.sys cd20xrnt.sys cdrom.sys cmdide.sys cpqarray.sys dac2w2k.sys dac960nt.sys disk.sys dpti2o.sys fdc.sys flpydisk.sys ftdisk.sys hal.dll halaacpi.dll halacpi.dll halapic.dll halmacpi.dll halmps.dll halsp.dll hidclass.sys hidparse.sys hidusb.sys Space lost on the CD : 932KB I'll see what can be removed, probably next week. And my favorite flavor of Linux is ... the one that lets me use my Radeon mobility X700 on my 16/10 screen at its native resolution. I used to run SuSe. I sucked my install and could not install again because of *dead* HD. |
| | |
May 7 2006, 02:07 PM Post
#51 | |
| MSFN Junkie Group: Software Developers Posts: 3171 Joined: 8-August 05 From: Flanders, Belgium Member No.: 68008 OS: 2000 |
I don't intend to mess with the duplicates that MS add themselves; they might be in I386 for a purpose. What I'm going to try to achieve with HFSLIP: - updated binaries should be in DRIVER.CAB (as is the case now) - updated binaries for driver files that co-exist in I386 should be updated (as is the case now) - updated binaries for driver files that only existed in DRIVER.CAB previously should NOT be added into I386 (this behavior would be new) - binaries for driver files that didn't exist at all should only be added into DRIVER.CAB unless they are required in I386 (this behavior would be new) The above is for merging options A/B/C. With the other merging options, the cab file to deal with is SPX.CAB. |
| | |
May 7 2006, 03:01 PM Post
#52 | |
| MSFN Expert Group: Software Developers Posts: 1466 Joined: 9-January 04 Member No.: 12184 OS: none |
Tux - You can do delete these extras with a RIN file in HFCLEANUP. Read up on the hfexpert page to see how to do it. You'll need to do a driver merge option to take advantage of the reduction. Hint on the file creation... 1394bus.sy 1394vdbg.sy abp480n5.sy acpi.sy acpiec.sy etc |
| | |
May 8 2006, 05:29 AM Post
#53 | |
| MSFN Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1760 Joined: 22-May 05 From: Paris Member No.: 57090 OS: none |
Tomcat76, I think those added files may be needed for recovery console or things like that so I'm with you on not removing them by default. But who really knows what is their use ? tommyp, I had not yet checked HFCLEANUP and it seems really powerful. Thanks. |
| | |
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 02:59 AM |