m0gely, on Jun 9 2008, 08:06 AM, said:
However, per
this image, this seventh field represents the [SourceDisksFiles] section which is outlined at the beginning of the txtsetup.inf file. _1 through 6_ all look like they equal the same thing. What's the difference? I see different values being used below, but I don't understand why they seam to equal the same thing from what is shown at the top of the file.
The setup first checks for [SourceDisksNames.*] and then for [SourceDisksNames]. This also happens with all other txtsetup.sif header like [SourceDisksFiles.*]! If you're running the setup on a x86 system, the entries in [SourceDisksNames.x86] are used but if there are no matches, [SourceDisksNames] is used.
Now search for [Strings] and exit the search pane after the first hit, now scroll down. Here are the names used in [SourceDisksNames]. _1 to _6 and 1_ to 6_ are specifing the windows xp boot and setup floppy disks, but only on x86 systems. On all other systems [SourceDisksNames] is used and the entries there require only the "Windows XP Professional-CD", no floppy disks.
I don't know the differences between _1 and 1_, _2 and 2_, etc. also i don't know for sure what _x means!
m0gely, on Jun 9 2008, 08:06 AM, said:
It would be nice to find a link that completely explains the syntax of the entire line for a file in the [SourceDisksFiles] section.
filename_on_source = filestatus,1,2,3,4,5,diskid,subdir,upgradecode,newinstallcode1,newfilename,newinstallcode2,6
filename_on_source = filestatus,1,2,3,4,5,diskid,subdir,upgradecode,newinstallcode1,newfilename,newinstallcode2,6
bootvid.dll = 1, , , , , , 3_, 2, 0, 0, , 1,2
fastfat.sys = 100, , , , , , 5_, 4, 0, 0, , 1,4
tunga.ttf = 1, , , , , , , 22, 0, 0, , 1,22
diskdump.sys = 100, , , , , , , 4, 0, 0, , 1,4
admtoolW.chm = 1, , , , , , , 21, 0, 0,admtools.chm
adpu160m.sys = 1, , , , , , 4_, 4, 1, , , 1,4
filestatus can be 1 or 100 and is used to specify if source is vanilla or upgraded by a service pack. see [SourceDisksNames] and [SourceDisksNames.*]
1 is unknown. If you know more, please reply and quote this number. Thanks!
2 is the size of the decompressed file. this is not used in txtsetup.sif but in layout.inf
3 is unknown. If you know more, please reply and quote this number. Thanks!
4 is unknown. If you know more, please reply and quote this number. Thanks!
5 is unknown. If you know more, please reply and quote this number. Thanks!
diskid is used when a floppy disk installation is used. (Or multiple CDs?). _x and _1 to _6 specify uncompressed source files, 1_ to 6_ specify compressed source files. If you are not sure what to use, leave this empty. see [SourceDisksNames] and [SourceDisksNames.*]
subdir is the directory to which files are copied. see [WinntDirectories]
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.
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
newinstallcode1 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 newinstallcode is optional; if it is not included, the file is not copied (code = 3).
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
newfilename is the name to which the file is renamed if it is copied. see [SourceDisksFiles] and [SourceDisksFiles.*]
newinstallcode2 is unknown.
6 is unknown. If you know more, please reply and quote this number. Thanks!
---
reference:
1) txtsetup.sif on original windows xp setup cd
2) http://gosh.msfn.org/txtsetup.htm
3) msfn user derniwi
4) layout.inf on original windows xp setup cd
UPDATE: 11/28/08 added more information about
diskid field
UPDATE: 11/28/08 added information about
2 field
This post has been edited by an3k: 28 November 2008 - 04:39 AM