Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

txtsetup.inf, SourcedisksFiles, SourceDisksNames

- - - - -

  • Please log in to reply
6 replies to this topic

#1
m0gely

m0gely
  • Member
  • 9 posts
  • Joined 14-October 07
I've been reading all night, and trying to make sense of lines like the following:
[SourceDisksFiles]
satadriver.sys = 1,,,,,,?,4,1
satadriver.inf = 1,,,,,,?,20,1
Above, the seventh field ? (newfilename) is one of the things I'm thoroughly confused about. Per several documents I've read that the first seven fields are this:
sourcefile.ext = diskid,subdir,upgradecode,newinstallcode,spare,spare,newfilename
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. It would be nice to find a link that completely explains the syntax of the entire line for a file in the [SourceDisksFiles] section.

The reason for this is I'm trying to add additional RAID drivers to my own CD's, but the info on the forums is very diluted and full of posts which contradict other posts, or have incompatible ideas. I'm following the method outlined in the unattended guide. They use 3_ for this field there, and I've read that _x means the file is uncompressed in the i386 folder.


How to remove advertisement from MSFN

#2
ponghy

ponghy

    MSFN Student

  • Member
  • PipPip
  • 175 posts
  • Joined 21-April 05
Very interesting... I'm guessing if it is possible to achieve the same results posted in the Unattended Guide without adding the OemPnpDriversPath directive... The reason is if this directive is added to WINNT.SIF, repair option will be disabled, and I'd like to preserve this feature.

Thanks.

Edited by ponghy, 20 June 2008 - 04:19 PM.


#3
ponghy

ponghy

    MSFN Student

  • Member
  • PipPip
  • 175 posts
  • Joined 21-April 05
Anyone? :(

I' like to correct part of the information said above: the repair option will be disabled because the existence of the WINNT.SIF file, not only the directive. In order to the repair option work (access to Recovery Console and so on), no answer file may exist.

#4
an3k

an3k

    Junior

  • Member
  • Pip
  • 95 posts
  • Joined 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag

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!

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

Edited by an3k, 28 November 2008 - 04:39 AM.


#5
an3k

an3k

    Junior

  • Member
  • Pip
  • 95 posts
  • Joined 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag
6 could be subdir too. Always use same number here as in subdir.

#6
derniwi

derniwi

    Newbie

  • Member
  • 44 posts
  • Joined 24-November 08
Hi,

I'm trying to add some drivers to a Windows XP source, this just works a little bit fine. My problem is, I can't use such a CD (or ISO image) for creating an installation source on a RIS (Server 2003 SP2 in mixed mode). The added files (i.e. Intel S-ATA driver) are not copied to the server.

After checking some files (layout.inf) I think the unknown paramter 2 is the size of the expanded file in bytes.

Best regards, Nils.

#7
an3k

an3k

    Junior

  • Member
  • Pip
  • 95 posts
  • Joined 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag
thanks derniwi! i've updated my posting.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users