![]() ![]() |
Feb 9 2004, 02:01 PM
Post
#1
|
|
|
I ♥ Longhorn ![]() ![]() ![]() Group: Members Posts: 398 Joined: 11-September 03 From: 127.0.0.1 Member No.: 6508
|
The TXTSETUP.SIF file is the most likely file you need in order to customize the setup. It contains numerous sections, the most important of which are described in the following sections.
The [SourceDisksFiles] Section The [SourceDisksFiles] section lists all files for the installation. This section is critical for customization because it controls which files are copied during the installation. Using a text editor (such as Notepad), you can search for the [SourceDisksFiles] section to obtain a list of all Windows 2000 installation files. The first few lines of this section are CODE [SourceDisksFiles] _default.pif = 1,,,,,,,1,3 12520437.cpx = 1,,,,,,,2,0,0 ; mdac 12520850.cpx = 1,,,,,,,2,0,0 ; MDac : : The following line shows the syntax of each line in the [SourceDisksFiles] section: filename_on_source=diskid,subdir,upgradecode,newinstallcode,spare,spare,newfilename Extra fields specified by commas (,) are Windows NT—specific. diskid is used when a floppy disk installation is used. (Or multiple CDs?) subdir is the directory to which files are copied. Codes defined in the [WinntDirectories] section of the TXTSETUP.SIF file are used to identify the destination directory. upgradecode is a single digit that is used if this is an upgrade from an earlier version. It specifies whether the file is copied during the text-mode portion. Codes in the [Files] Section of TXTSETUP.SIF for File Copy Status Code - Copy Action 0 - Always copies the file 1 - Copies the file only if it exists in the installation directory 2 - Does not copy the file if it exists in the installation directory 3 - Does not copy the file newinstallcode is a single digit that is used if this is a fresh installation. It specifies whether the file is copied during the text-mode portion. The same codes are used as for upgrading Windows 2000 and are described in Table 4.3. The newinstallcode is optional; if it is not included, the file is not copied (code = 3). newfilename is the name to which the file is renamed if it is copied. As an example, consider this line from the [SourceDisksFiles] section. CODE autochk.e XE = 1,,,,,,_x,2,0,0 The file AUTOCHK.EXE in this line is on the CD or the disk with diskid d2 defined in the [Media] section. The file also is on Setup Disk 2 (_2), also defined in the [Media] section. The file is installed in directory 2, which is defined in the [WinntDirectories] section. If you look up the [WinntDirectories] section, directory 2 is the System32 subdirectory in the Windows 2000 root directory. The upgrade code and new installation codes are 0, which means that this file always must be copied to the installation directory, whether this is an upgrade from an earlier version of Windows 2000 or a fresh installation. |
|
|
|
Feb 9 2004, 02:17 PM
Post
#2
|
|
|
I ♥ Longhorn ![]() ![]() ![]() Group: Members Posts: 398 Joined: 11-September 03 From: 127.0.0.1 Member No.: 6508
|
Giving credit where credit is due:
Windows® 2000 Server Professional Reference By Karanjit S. Siyan Ph.D. Publisher : New Riders Publishing Pub Date : July 10, 2000 ISBN : 0-7357-0952-1 Pages : 1848 |
|
|
|
Feb 9 2004, 02:22 PM
Post
#3
|
|
|
Junior ![]() Group: Members Posts: 96 Joined: 19-October 03 Member No.: 8300 |
so what does all this info mean? And how can this help with my unattended install? Can deleting some info from this file speed up the install?
|
|
|
|
Feb 9 2004, 02:59 PM
Post
#4
|
|
|
I ♥ Longhorn ![]() ![]() ![]() Group: Members Posts: 398 Joined: 11-September 03 From: 127.0.0.1 Member No.: 6508
|
Now in plain English...I think.
A while back I posted how to add 3rd party SATA/RAID/SCSI/IDE drivers that were not included with Windows. This involved making changes to the TXTSETUP.SIF file located in the i386 directory. Let's look at a line adding the driver file iaStor.sys (ICH5R driver) in the [SourceDisksFiles]
Attached File(s)
|
|
|
|
Feb 9 2004, 03:01 PM
Post
#5
|
|
|
I ♥ Longhorn ![]() ![]() ![]() Group: Members Posts: 398 Joined: 11-September 03 From: 127.0.0.1 Member No.: 6508
|
Now a bit more commentary.
I think I've figured out what everything means here except for the last "4" in the line. Looking through the original TXTSETUP.SIF shows that the DESTINATION CODE and this last number always match. So I'd suggest keeping your own lines that way. Text in the drawing marked in RED is optional. I've also noticed that with a CD install the [SourceDisksNames] are all the same. I believe that these are really just dummy files (especially 2_ through 6_). I would also suspect that in your own modifications to TXTSETUP.SIF you could probably replace 3_ with 1_ through 6_ and have success...haven't tested it though. I also must give credit to Gosh for figuring out some of this information. According to his information if your added files in the i386 directory are not compressed replace 3_ with _x. In any case if you add files by modifying TXTSETUP.SIF make sure that an identical filename doesn't already exist in TXTSETUP.SIF or DOSNET.INF. If it does you should be able to comment out (;) the additional lines to add your new, updated file. Although it does seem that a few of the additional switchs (the last two specifically) are there to allow you to determine what should happen if a conflict arises. I'll be doing some testing playing with different settings very soon. |
|
|
|
Feb 9 2004, 03:21 PM
Post
#6
|
|
|
gosh 2.0 Group: Patrons Posts: 2217 Joined: 3-October 03 Member No.: 7679 OS: none
|
|
|
|
|
Feb 9 2004, 03:56 PM
Post
#7
|
|
|
* Seeker of Knowledge * ![]() ![]() Group: Members Posts: 272 Joined: 18-October 03 Member No.: 8271 |
@gosh
Your stuff is always so nicely laid out. You have a gift for explaning things! |
|
|
|
May 7 2004, 09:51 AM
Post
#8
|
|
|
Like a big surly teddy bear. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 3181 Joined: 31-August 03 From: Philadelphia, PA Member No.: 6091
|
Does it really matter if there's a 100 or a 1 at the front of the line if you're integrating files (say a mass storage controller driver) into the install?
Why do RAID drivers use 4_ instead of 3_? |
|
|
|
May 7 2004, 01:52 PM
Post
#9
|
|
|
CODE tags people, CODE tags! Group: Patrons Posts: 6221 Joined: 25-September 03 From: Dallas, Texas Member No.: 7393 OS: none
|
does anyone have one of those expensive books to answer the man?
I'm interested as well. No real use for it just yet, but curiosity is a good enough driving force. |
|
|
|
Aug 25 2004, 09:47 AM
Post
#10
|
|
|
Powered by Windows Embedded ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 787 Joined: 3-January 04 From: Underworld Member No.: 11874 OS: XP Pro x86
|
In Windows 2000 Server txtsetup.sif, some RAID drivers use this syntax
CODE [SourceDisksFiles] cpqarray.sys = 2,,,,,,3_,4,1 cpqarry2.sys = 1,,,,,,3_,4,1 mraid35x.sys = 1,,,,,,3_,4,1 [SCSI] cpqarry2 = "Compaq Smart Array Controller" mraid35x = "AMI MegaRaid RAID Controller" both cpqarry2 and mraid35x are RAID controllers. @RyanVM Maybe this number 3_ is just used to recreate the Setup Boot floppies with makeboot or makebt32 tool. 3_ means put the file on the 3rd disk 4_ means put the file on the 4th disk because there is 4 setup boot floppies on Windows 2000 on Windows XP, there is 6 setup boot floppies How can I create the Setup Boot floppies for Windows XP Pro/Home? |
|
|
|
Aug 25 2004, 10:04 AM
Post
#11
|
|
|
... but not really Group: Patrons Posts: 5719 Joined: 29-October 03 From: Hasselt, Belgium Member No.: 8748 OS: none
|
Old topic, maybe forgotten, but I've bookmarked it.
Might turn out to be useful... |
|
|
|
Aug 26 2004, 08:17 PM
Post
#12
|
|
|
Newbie Group: Members Posts: 12 Joined: 13-August 04 Member No.: 27477 |
bah, somehow replied to wrong thread.
|
|
|
|
Nov 14 2004, 06:49 PM
Post
#13
|
|
|
MS MVP Windows Shell/User ![]() ![]() ![]() Group: Members Posts: 354 Joined: 22-February 04 Member No.: 14702
|
I have a couple of questions related to the [url=http://www.msfn.org/board/index.php?act=Attach&type=post&id=103095]image[/b] attached to the raskren's post on the first page of the thread.
"1- Original or RTM." What is RTM? "Ready to manufcture" is the only thing that comes to my mind except for RTFM "Commas required. 6 at minimum, 7 if the next entry is omitted". What entry is this about? And what happens if it is omitted? Thanks for your attention to my questions. |
|
|
|
Nov 14 2004, 06:54 PM
Post
#14
|
|
|
Ditchy McAbandonpants ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1053 Joined: 27-January 04 Member No.: 13226
|
rtm is "release(d) to manufacturer"
and the 6 commas or 7 if next is omitted...this basically refers to "[SourceDisksNames] Entry" you can omit it if you want (dunno what happens if you do) and if you do, then youll need 7 commas...Actually, I believe it tells windows if the file is compressed or not...3_ for uncompressed _3 for compressed...and dunno what happens if its omitted. |
|
|
|
Nov 14 2004, 08:45 PM
Post
#15
|
|
|
MS MVP Windows Shell/User ![]() ![]() ![]() Group: Members Posts: 354 Joined: 22-February 04 Member No.: 14702
|
Thanks for your reply, evilvoice. So "omitting the entry" refers to the particular entry after the commas and has nothing to do with the whole line, correct?
|
|
|
|
Nov 15 2004, 12:36 AM
Post
#16
|
|
|
Ditchy McAbandonpants ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1053 Joined: 27-January 04 Member No.: 13226
|
that is correct...it is talking about omitting the very next entry...or if it helps you more...its talking about omitting the entry BEFORE the 7th comma
|
|
|
|
Nov 15 2004, 01:17 PM
Post
#17
|
|
|
MS MVP Windows Shell/User ![]() ![]() ![]() Group: Members Posts: 354 Joined: 22-February 04 Member No.: 14702
|
Thanks, I just needed to make sure I got it right
|
|
|
|
Dec 24 2004, 03:45 AM
Post
#18
|
|
|
Group: Members Posts: 1 Joined: 24-December 04 Member No.: 39197 |
How to delete floppy disk driver(flpydisk.sys&flpydisk.inf) from the txtsetup.sif file?
|
|
|
|