filename specifies the source file you want to copy. if the file is compressed using makecab you still specify its uncompressed filename (eg. .dll instead of .dl_)
status specifies the source itself. normally its 1 (RTM) or 100 (SP). see [SourceDisksNames] and [SourceDisksNames.*] in TXTSETUP.SIF
subdir specifies the source subdirectory you want to copy the file from.
size specifies the size of the uncompressed source file in bytes. see [SourceDisksFiles] in LAYOUT.INF
3 is unknown. If you know more, please reply and quote this. Thanks!
4 is unknown. If you know more, please reply and quote this. Thanks!
5 is unknown. If you know more, please reply and quote this. Thanks!
diskid is used when running an installation from (multiple) floppy or multiple cds. see [SourceDisksNames] and [SourceDisksNames.*] in TXTSETUP.SIF
subdir specifies the target subdirectory you want to copy the file to. see [WinntDirectories] in TXTSETUP.SIF
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 newinstallcode1 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 specifies the target filename. see [SourceDisksFiles] in TXTSETUP.SIF
newinstallcode2 is unknown. If you know more, please reply and quote this. Thanks!
6 is unknown. If you know more, please reply and quote this. Thanks!
Example:
filename = status,subdir,size,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
this is not finished yet, subscribe for updates! if you can give more information about this topic, please reply. thanks!
---
reference:
1) txtsetup.sif on original windows xp sp2 setup cd
2) layout.inf on original windows xp sp2 setup cd
3) http://gosh.msfn.org/txtsetup.htm
4) msfn user derniwi
5) http://www.msfn.org/...howtopic=118815
6) http://msdn.microsof...y/ms794523.aspx
7) http://msdn.microsof...y/ms794587.aspx
8) http://support.microsoft.com/kb/327393
This post has been edited by an3k: 14 March 2010 - 03:18 AM



Help
Back to top









