#1
Posted 09 February 2004 — 02: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
[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.
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.
- Back to top
#2
raskren
Posted 09 February 2004 — 02:17 PM
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
- Back to top
#3
tbone587
Posted 09 February 2004 — 02:22 PM
tbone587
- Members
- 96 posts
Junior
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?
- Back to top
#4
raskren
Posted 09 February 2004 — 02:59 PM
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]
- Back to top
#5
raskren
Posted 09 February 2004 — 03:01 PM
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.
- Back to top
#6
gosh
Posted 09 February 2004 — 03:21 PM
gosh
- Patrons
- 2,347 posts
gosh 2.0
- OS:none specified
- Country:
Just wanted to mention my site has similiar info at http://gosh.msfnhost…om/txtsetup.htm
-gosh
- Back to top
#7
techtype
Posted 09 February 2004 — 03:56 PM
@gosh
Your stuff is always so nicely laid out. You have a gift for explaning things!
- Back to top
#8
RyanVM
Posted 07 May 2004 — 09:51 AM
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_?
- Back to top
#9
Alanoll
Posted 07 May 2004 — 01:52 PM
Alanoll
- Patrons
- 5,496 posts
CODE tags people, CODE tags!
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.
- Back to top
#10
Bilou_Gateux
Posted 25 August 2004 — 09:47 AM
In Windows 2000 Server txtsetup.sif, some RAID drivers use this syntax
[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?
- Back to top
#11
B�shrat the Sneaky
Posted 25 August 2004 — 10:04 AM
B�shrat the Sneaky
- OS:none specified
- Country:
Old topic, maybe forgotten, but I’ve bookmarked it.
Might turn out to be useful…
- Back to top
#12
glugglug
Posted 26 August 2004 — 08:17 PM
glugglug
- Members
- 12 posts
Newbie
bah, somehow replied to wrong thread.
- Back to top
#13
Vadikan
Posted 14 November 2004 — 06:49 PM
Vadikan
- OS:Windows 8 x64
- Country:
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.
- Back to top
#14
evilvoice
Posted 14 November 2004 — 06:54 PM
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.
- Back to top
#15
Vadikan
Posted 14 November 2004 — 08:45 PM
Vadikan
- OS:Windows 8 x64
- Country:
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?
- Back to top
#16
evilvoice
Posted 15 November 2004 — 12:36 AM
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
- Back to top
#17
Vadikan
Posted 15 November 2004 — 01:17 PM
Vadikan
- OS:Windows 8 x64
- Country:
Thanks, I just needed to make sure I got it right
- Back to top
#18
Caube
Posted 24 December 2004 — 03:45 AM
Caube
- Members
- 1 posts
How to delete floppy disk driver(flpydisk.sys&flpydisk.inf) from the txtsetup.sif file?
- Back to top
#19
raskren
Posted 06 January 2005 — 09:19 AM
Wha? Please rephrase the question.
You wanna remove two drivers from the textsetup portion of the install?
Delete ALL relevant entries in txtsetup.sif and delete the drivers files themselves from i386.
- Back to top
#20
HooGLaNDeR
Posted 05 April 2005 — 03:55 AM
HooGLaNDeR
- Members
- 4 posts
Has anything changed, since ServicePack 2? Any changes in the syntax ?
- Back to top
#21
B�shrat the Sneaky
Posted 05 April 2005 — 04:03 AM
B�shrat the Sneaky
- OS:none specified
- Country:
Nope, no changes to the syntax at all.
- Back to top
#22
HooGLaNDeR
Posted 05 April 2005 — 05:29 AM
HooGLaNDeR
- Members
- 4 posts
Thnx B�shrat the Sneaky.
Ps. You’ve got mail
- Back to top
#23
ohad
Posted 07 April 2005 — 03:54 AM
ohad
- Members
- 6 posts
hmm.. how can I debug it if setup doesnt copy my file?
(I’m using win2003 due..)
I have the same configureation in my txtsetup.sif:
megaide.sys = 1,,,,,,,3_,4,1
i’ve also tried
megaide.sys = 1,,,,,,,4_,4,1,,,1,4
could it be needed to add in any other file ? (dosnet.inf…)
thanks,
ohad
- Back to top
#24
RBCC
Posted 24 July 2005 — 03:52 PM
Is the background color of the text-mode portion of setup refrenced in txtsetup.sif? If so , where?
John
- Back to top
#25
secowu
Posted 13 December 2005 — 04:43 AM
secowu
- Members
- 59 posts
Junior
but how can i use txtsetup.sif creates my folder or preinstall app.?
such as :
c:\program files\freeb\freeb.exe
c:\program files\freeb\color\freeb.cls
etc.
tks
- Back to top
После записи на флешку образа Windows XP, при попытке загрузиться с флешки возникает ошибка:
Код:
txtsetup.sif поврежден или отсутствует, положение 18
Решается эта проблема следующим образом:
Необходимо использовать другой способ создания загрузочной флешки, который описан ниже.
Итак, начнем.
Для начала нам необходимо отформатировать нашу флешку. Сделаем это стандартными средствами.
Заходим в Мой Компьютер, кликаем правой кнопкой по флешке и жмем “Форматировать”
Теперь открываем программу WinSetupFromUsb ( скачать можно здесь Download WinSetupFromUSB)
Программа не требует установки.
Выбираем Bootice
В открывшемся окошке нажимаем Perform Format
Выбираем USB-HDD mode (Single Partition) и нажимаем Next Step. Соглашаемся со всем, и ждем пока процесс закончится.
После выходим из всех второстепенных окошек, оставляем только главное WinSetupFromUsb.
Ставим галочку напротив Windows 2000/XP/2003 Setup и выбираем нашу папку с Windows XP, которую мы предварительно подготовили распаковав ее из ISO образа (распаковать можно с помощью WinRAR например, или другой программы).
И нажимаем GO
Если все удачно, то в конце мы увидим сообщение Job done.
Поздравляю, наша загрузочная флешка с Windows XP готова.
При загрузке компьютера видим загрузочное окно с 2 пунктами:
Код:
Start PLoP boot manager
Windows XP/2000/2003 Setup
Выбираем 2 пункт, в нем пункт начинающийся со слов First Part… и начинаем установку Windows XP c флешки.
Оффтоп
© По материалам itfound.ru
You are wanting to install Windows 2000 from USB by simply creating a USB «dump» of the install .iso?
That won’t happen.
The USB stick contents need to be adapted/modified to allow the install (or you can install copying files to hard disk, etc.), here:
http://www.msfn.org/board/forum/157-install-windows-from-usb/
you will find a number of possible ways, most will be for XP or later OS, but there should be a couple ways/methods also tested for Win2k, the easiest would be:
jaclaz
Edited by jaclaz
Klemens_Untner
Level 2
20 years ago
error during IDR process:
<
>
Initial Setup of W2k was done 3 years ago with Microsoft Select CD
We slipstream a CD with SP4 and actualized BOOTDISK directory and tested setup and bootdisks on a new machine. — OK
Creating the IDR-CD Isofile ran without error on BE 10 5520 — SP1 with this CD.
I found out,
— that this happens on all of our Servers (10)
— the txtsetup.sif contains
sp2.cat = 1,,,,,,1,3,3
sp2.cab = 1,,,,,,_x,39,0,0
instead of sp4.cat and sp4.cab
any IDEA?
10.x and Earlier
Backup and Recovery
Backup Exec
Если вы видите это сообщение, значит, произошла проблема с загрузкой файлов в стилей (CSS) нашего сайта. Попробуйте сбросить кэш браузера (Ctrl+F5).
Если это не поможет, а вы находитесь в регионе, где возможны ограничения интернет-трафика с российских серверов — воспользуйтесь VPN.
Чосик 11 лет назад
При загрузке Windows XP появляется сообщение «txtsetup sif испорчен или отсутствует, состояние 18»? Как убрать эту неполадку? Почему возникает данная ошибка? Sambo 11 лет назад Ее (ошибку :»txtsetup sif испорчен или отсутствует состояние 18″) можно убрать вот так: Копируете txtsetup.sif из папки I386 в корень своей карты памяти и переименовываете I386 в $WIN_NT$.~BT Обычно эта ошибка часто связана с использованием флешек. Вот тут можно почить подробнее, если первый метод не помог. комментировать
в избранное
ссылка
отблагодарить Знаете ответ? |