Jump to content

TXTSETUP.SIF


Recommended Posts

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\Wallpaper

1 = "\"

2 = system32

3 = system32\config

4 = system32\drivers

5 = system

7 = system32\ras

9 = system32\spool

10 = system32\spool\drivers

11 = system32\spool\drivers\w32x86\3

12 = system32\spool\prtprocs

13 = system32\spool\prtprocs\w32x86

14 = system32\wins

15 = system32\dhcp

16 = repair

17 = system32\drivers\etc

18 = system32\spool\drivers\w32x86

19 = system32\drivers\disdn

20 = inf

21 = Help

22 = Fonts

23 = Config

Right - 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%,,\i386

2 = "%cd2name%","%cd2tagfilei%",,\cmpnents\tabletpc\i386

3 = "%cd2name%","%cd2tagfilei%",,\cmpnents\mediactr\i386

4 = "%cd2name%","%cd2tagfilei%",,\cmpnents\netfx\i386

100 = %spcdname%,%spcdtagfilei%,,\i386,1

I'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.

Link to comment
Share on other sites


layout.inf, there might be something in dosnet.inf, you might have to *somehow* hexedit setupldr.bin (don't think so tho) etc

Juz don't change it. No extra resources are used for extra even if empty folders.

*cue for anyone w/a suggestion*

Link to comment
Share on other sites

<<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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...