August 23, 200620 yr Hey hey,I've been using nLite on my disc, which is all very nice. However, now I want to go a bit further than nLite. Specifically - there are a few other files I want to delete, and, also, I want to delete (or stop creating) a number of empty folders across my install.So, I've moved to the file TXTSETUP.SIF, which I believe will provide me with my solution.I've fired up TXTSETUP.SIF, and I've found this code:[WinntDirectories]1981 = Web\Wallpaper1 = "\"2 = system323 = system32\config4 = system32\drivers5 = system7 = system32\ras9 = system32\spool10 = system32\spool\drivers11 = system32\spool\drivers\w32x86\312 = system32\spool\prtprocs13 = system32\spool\prtprocs\w32x8614 = system32\wins15 = system32\dhcp16 = repair17 = system32\drivers\etc18 = system32\spool\drivers\w32x8619 = system32\drivers\disdn20 = inf21 = Help22 = Fonts23 = ConfigRight - now, I don't want, for example, the help file to be created (I've deleted all the help files with nLite). So, can I just delete the line 21 = help entirely, and will that stop that folder being created?Secondly, I also found these lines near the beginning[sourceDisksNames.x86]1 = %cdname%,%cdtagfilei%,,\i3862 = "%cd2name%","%cd2tagfilei%",,\cmpnents\tabletpc\i3863 = "%cd2name%","%cd2tagfilei%",,\cmpnents\mediactr\i3864 = "%cd2name%","%cd2tagfilei%",,\cmpnents\netfx\i386100 = %spcdname%,%spcdtagfilei%,,\i386,1I've deleted the cmpnents sub folder, and also the lang folder which is mentioned further down - so I can I remove these keys - and, likewise, the section headed off "[sourceDisksNames.amd64]" - I don't have an AMD processor, so can this go?I know I've asked a lot of questions there, but I've never really seen much information about TXTSETUP.SIF. If somebody can't be bothered to answer them, but wants to point me in the direction of information about it, I'll be tootling along.Thanks a lot.
August 23, 200620 yr Yep it will stop the creation of the folder but I would not mod it. But you have to edit other files as well.
August 24, 200620 yr layout.inf, there might be something in dosnet.inf, you might have to *somehow* hexedit setupldr.bin (don't think so tho) etcJuz don't change it. No extra resources are used for extra even if empty folders.*cue for anyone w/a suggestion*
August 25, 200620 yr Author <<No extra resources are used for extra even if empty folders.>>Well, this is true, but I don't want those empty folders to be created - I thought about adding a cmd to delete them, but then I thought it would be neater and quicker for them not to be created at all in the first place.I'll have a play and see what happens.
August 26, 200620 yr You might wanna have a play in Virtual PC cos many empty folders in %systemroot% are important...
Create an account or sign in to comment