IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
> Switches in TXTSETUP.SIF, Here's what "1,,,,,,,,,_x,4,0" means
raskren
post Feb 9 2004, 02:01 PM
Post #1


I ♥ Longhorn
***

Group: Members
Posts: 383
Joined: 11-September 03
From: 127.0.0.1
Member No.: 6508
Country Flag


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.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
wallace1
post Jul 6 2008, 03:41 PM
Post #2


Newbie


Group: Members
Posts: 12
Joined: 17-November 07
Member No.: 162840
OS: XP Home
Country Flag


QUOTE
QUOTE (raskren @ Feb 9 2004, 09:01 PM)
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
:
:


@raskren

CODEsrframe.mmf = 1,,,,,,,,3,3

what if there are 8 commas 'as above'? What does this mean/indicate/signify please?

1 = \I386
3 = file copied to system32\config (then)
3 = does not copy the file

3,3 = contradiction in terms?


I wonder exactly the same questions!!!!!
Go to the top of the page
 
+Quote Post

Posts in this topic
- raskren   Switches in TXTSETUP.SIF   Feb 9 2004, 02:01 PM
- - raskren   Giving credit where credit is due: Windows® 2000 ...   Feb 9 2004, 02:17 PM
- - tbone587   so what does all this info mean? And how can this...   Feb 9 2004, 02:22 PM
- - raskren   Now in plain English...I think. A while back I po...   Feb 9 2004, 02:59 PM
|- - the_doc735   QUOTE (raskren @ Feb 9 2004, 09:59 PM) No...   Sep 20 2006, 06:17 AM
||- - Speeddymon   QUOTE (the_doc735 @ Sep 20 2006, 07:17 AM...   Sep 20 2006, 01:28 PM
||- - the_doc735   QUOTE (Speeddymon @ Sep 20 2006, 07:28 PM...   Sep 25 2006, 09:51 AM
|- - the_doc735   QUOTE (raskren @ Feb 9 2004, 09:59 PM) SE...   Oct 7 2006, 06:53 AM
- - raskren   Now a bit more commentary. I think I've figur...   Feb 9 2004, 03:01 PM
- - gosh   Just wanted to mention my site has similiar info a...   Feb 9 2004, 03:21 PM
|- - the_doc735   QUOTE (gosh @ Feb 9 2004, 09:21 PM) Just ...   Sep 25 2006, 09:24 AM
- - techtype   @gosh Your stuff is always so nicely laid out. You...   Feb 9 2004, 03:56 PM
- - RyanVM   Does it really matter if there's a 100 or a 1 ...   May 7 2004, 09:51 AM
- - Alanoll   does anyone have one of those expensive books to a...   May 7 2004, 01:52 PM
- - Bilou_Gateux   In Windows 2000 Server txtsetup.sif, some RAID dri...   Aug 25 2004, 09:47 AM
- - Bâshrat the Sneaky   Old topic, maybe forgotten, but I've bookmarke...   Aug 25 2004, 10:04 AM
- - glugglug   bah, somehow replied to wrong thread.   Aug 26 2004, 08:17 PM
- - VAD   I have a couple of questions related to the [url=h...   Nov 14 2004, 06:49 PM
- - evilvoice   rtm is "release(d) to manufacturer" and...   Nov 14 2004, 06:54 PM
- - VAD   Thanks for your reply, evilvoice. So "omittin...   Nov 14 2004, 08:45 PM
- - evilvoice   that is correct...it is talking about omitting the...   Nov 15 2004, 12:36 AM
- - VAD   Thanks, I just needed to make sure I got it right   Nov 15 2004, 01:17 PM
- - Caube   How to delete floppy disk driver(flpydisk.sys...   Dec 24 2004, 03:45 AM
- - raskren   Wha? Please rephrase the question. You wanna rem...   Jan 6 2005, 09:19 AM
- - HooGLaNDeR   Has anything changed, since ServicePack 2? Any cha...   Apr 5 2005, 03:55 AM
- - Bâshrat the Sneaky   Nope, no changes to the syntax at all.   Apr 5 2005, 04:03 AM
- - HooGLaNDeR   Thnx Bâshrat the Sneaky. Ps. You've got mail   Apr 5 2005, 05:29 AM
- - ohad   hmm.. how can I debug it if setup doesnt copy my f...   Apr 7 2005, 03:54 AM
- - RBCC   Is the background color of the text-mode portion o...   Jul 24 2005, 03:52 PM
- - secowu   but how can i use txtsetup.sif creates my folder o...   Dec 13 2005, 04:43 AM
- - Donnie   Hello everybody. I can't figure out how iexplo...   Dec 18 2005, 04:44 PM
|- - yodafr   QUOTE (Donnie @ Dec 18 2005, 04:44 PM) He...   Jul 9 2006, 10:08 AM
- - RyanVM   You can't. You have to use INFs to copy them (...   Jul 9 2006, 11:20 AM
- - yodafr   Can you give me the name of an exemple file in i38...   Jul 9 2006, 11:49 AM
- - yodafr   Please . Where can I find a tutorial ? Thanks .   Jul 9 2006, 05:22 PM
- - Br4tt3   Read just about everything there is on this subjec...   Aug 3 2006, 05:01 AM
- - Speeddymon   Hi, I have entries in my txtsetup.sif that don...   Sep 17 2006, 11:58 PM
- - the_doc735   QUOTE (raskren @ Feb 9 2004, 09:01 PM) Th...   Oct 7 2006, 11:03 AM
- - the_doc735   QUOTE (raskren @ Feb 9 2004, 09:01 PM) Th...   Oct 7 2006, 11:20 AM
- - wallace1   QUOTE QUOTE (raskren @ Feb 9 2004, 09:01 PM) The ...   Jul 6 2008, 03:41 PM


Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 05:11 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy