tommyp Posted July 18, 2006 Share Posted July 18, 2006 The general way of the RIN file is identify what setup infs need to be cleaned out. In the case you pointed out a few messages up, those registry entries get added in HIVESYS.INF. So, to clean it out, first you must tell hfslip what INF needs to be cleaned out. Next you have to tell what line to remove from the INF. This is done by a RIN file. The filename is specified by the filename with LESS the last character of the extension. So the filename for RIN format is HIVESYS.IN. Next, looking through the hivesys.inf you can see the entries you want. You need to specify a unique string of characters (no spaces or weird characters). In other words, think of it this way. Name_Of_File.IN;String_To_Filter_OutI'll try to clean up the info file. It's not that hard. It's just hard to explain logic and nested loops. I'm glad I don't program for a living. Link to comment Share on other sites More sharing options...
saugatak Posted July 18, 2006 Share Posted July 18, 2006 (edited) OK I think I follow how it's done now. I guess tricky part is knowing which .INF file the entries you want deleted are located.I created the requested .RIN file and am going to test iit with the latest HFCLEANUP. If it works, I'll post it here. Edited July 18, 2006 by saugatak Link to comment Share on other sites More sharing options...
tommyp Posted July 18, 2006 Share Posted July 18, 2006 (edited) It works, I tested it with 2k and xp. To search thru the setup infs, this may help you out. Manually create a folder called INFS alongside your source folder. Open a CMD window and type this:FOR /F %I IN ('DIR/B/A-D/ON source\I386\*.in_') DO EXPAND -r SOURCE\I386\%I infs & ECHO %I EXTRACTED(that needs to be one line)Once that's done, manually copy all the *.INF over to INFs. If you need to search INFs, right mouse the INFS folder and search. Piece-o-cake. Edited July 18, 2006 by tommyp Link to comment Share on other sites More sharing options...
Tomcat76 Posted July 18, 2006 Share Posted July 18, 2006 Once that's done, manually copy all the *.INF over to INFs.They are already in that folder per your DOS command... Link to comment Share on other sites More sharing options...
saugatak Posted July 19, 2006 Share Posted July 19, 2006 (edited) @tommypWell, gave it a shot. Below is code in my OSOptions_OS2Posix.rin file.I clearly screwed something up because my HIVESYS.INF file in SOURCESS has no entries Looks like you already worked out the right .rin file but I'm wondering if you could give me pointers so that next time I catch something I can make the file myself instead of passing the buck to you.HIVESYS.IN;HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","Os2LibPath",0x00020002,"%SystemRoot%\system32\os2\dll"HIVESYS.IN;HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems","Optional",0x00010002,"Os2","Posix"HIVESYS.IN;HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems","Os2",0x00020002,"%SystemRoot%\system32\os2ss.exe"HIVESYS.IN;HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems","Posix",0x00020002,"%SystemRoot%\system32\psxss.exe" Edited July 19, 2006 by saugatak Link to comment Share on other sites More sharing options...
Tomcat76 Posted July 19, 2006 Share Posted July 19, 2006 Try this:HIVESYS.IN;Os2HIVESYS.IN;Posix Link to comment Share on other sites More sharing options...
saugatak Posted July 19, 2006 Share Posted July 19, 2006 Thanks Tomcat, see how it works now.By putting in HKLM string, I wiped out the entire HIVESYS.INF, a little bit too much HFCLEANUP! Sorry for all the dumb questions. Link to comment Share on other sites More sharing options...
saugatak Posted July 24, 2006 Share Posted July 24, 2006 (edited) Tried an IE6 HFSLIP Win2k build with M$ Windows Updates. All update cabs are included except for legitcheckcontrol.cab. For some reason, I get an error message and the Windows Update site won't let me install any updates.Attached is my HFSLIP log and list of my HFCLEANUP files.Any suggestions?HFCLEANUP_files.txtHFSLIP.LOG.txt Edited July 24, 2006 by saugatak Link to comment Share on other sites More sharing options...
tommyp Posted July 24, 2006 Share Posted July 24, 2006 It's not there because you're removing it with hfcleanup. Remove osoptions_wga.* and you'll be ok. You may need to keep the BITS too. Why bother removing stuff to visit windowsupdate? Use the hfnetchk tool instead. Saug - You may want to try out nlite to see what each reducer does. The reduction set is loosely based on that. With nlite, you can see dependencies for various things. Link to comment Share on other sites More sharing options...
saugatak Posted July 27, 2006 Share Posted July 27, 2006 (edited) Whew, spent a bunch of time at the nLite forum and playing around with nLite. Came across a bunch of old posts by you and Clint where you two are like mad scientists figuring out exactly which comopenents and .dlls to remove to get the slimmest Win2k.Unfortunately, doesn't look like a lot of your suggestions got incorporated by Nuhi.This computer is for parents who live far away. I don't want to update their machine. I want to set up automatic updates and forget it.I thought the WGA files were Windows Genuine Advantage only, which I figured were not needed. Edited July 27, 2006 by saugatak Link to comment Share on other sites More sharing options...
tommyp Posted July 27, 2006 Share Posted July 27, 2006 saugatak - Thanks for noticing that in the forums. I waited well over a year for a change request to get processed and got practically nothing. This is why the HFCLEANUP efforts started. Link to comment Share on other sites More sharing options...
dirtwarrior Posted July 30, 2006 Share Posted July 30, 2006 I have used the reducer on windows 2000 with very good results. If I used the reducer on windows xp what would the iso size be and what would the install size be? I know I can go a head and do it (I will) just wondering what the end result would be. Link to comment Share on other sites More sharing options...
Kiki Burgh Posted July 31, 2006 Share Posted July 31, 2006 (edited) results may not be as near-perfect with 2K ... tommyp has advised tothrow sfc_os.dl_ & syssetup.dl_ into fix and you'll be ok.& To play it safe, only do the hfcleanup.zip but exclude the 4Z and 5Z files. There is a little issue with keeping the old media player with xp. ... i have not been quite lucky with it TP, took the liberty of quoting you sir! Edited July 31, 2006 by Kiki Burgh Link to comment Share on other sites More sharing options...
saugatak Posted August 6, 2006 Share Posted August 6, 2006 saugatak - Thanks for noticing that in the forums. I waited well over a year for a change request to get processed and got practically nothing. This is why the HFCLEANUP efforts started.Nah thanks for putting HFSLIP and HFCLEANUP together. Your stuff rocks. I have a great, clean install now. System works fast, no hiccups.nLite I'd always have odd bits and pieces left over or there'd be some portions I want to remove but can't.HFCLEANUP is harder but once you get hang of it and tweak it the way you want, it does better job IMO. Plus it works a lot faster than nLite. Link to comment Share on other sites More sharing options...
saugatak Posted September 10, 2006 Share Posted September 10, 2006 @tommypI want to remove all the help files included in Win2k BUT leave the .dlls and other system files necessary to maintain ability to open up help files (i.e. .chm and the like).How do I do this? Link to comment Share on other sites More sharing options...
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