Annotation of ntddk/src/setup/txtsetup.oem, revision 1.1

1.1     ! root        1: #
        !             2: # format for txtsetup.oem.
        !             3: #
        !             4: # General format:
        !             5: #
        !             6: # [section]
        !             7: # key = value1,value2,...
        !             8: #
        !             9: #
        !            10: # The hash ('#') introduces a comment.
        !            11: # Strings with embedded spaces, commas, or hashes should be double-quoted
        !            12: #
        !            13: 
        !            14: 
        !            15: [Disks]
        !            16: 
        !            17: # Your driver distribution may include one disk or many disks.
        !            18: # This section lists the disks in the distribution set.
        !            19: #
        !            20: # <description> is a descriptive name for a disk, used when
        !            21: #   prompting for the disk.  This should be a quoted string,
        !            22: #   like "Company XYZ Mouse Disk #1"
        !            23: #
        !            24: # <tagfile> is a file whose presence allows setup to recognize
        !            25: #   that the disk is inserted. This should be a path from the root,
        !            26: #   but may not include a drivespec.  Example: \xyzmou1.tag
        !            27: #
        !            28: # <directory> is where the files are located on the disk. This should
        !            29: #   be a path from the root but may not include a drivespec.
        !            30: #   Example: \ (root directory)
        !            31: 
        !            32: d1 = <description>,<tagfile>,<directory>
        !            33: d2 = <description>,<tagfile>,<directory>
        !            34:     .
        !            35:     .
        !            36:     .
        !            37: 
        !            38: 
        !            39: 
        !            40: [Defaults]
        !            41: 
        !            42: # This section lists the default selection for each component
        !            43: # supported by this txtsetup.oem.  If a line is not present for
        !            44: # a component, the default is the first item in the [<component_name>]
        !            45: # section (see below).
        !            46: #
        !            47: # <component_name> is one of computer, display, keyboard, mouse,
        !            48: #   "keyboard layout", or scsi.
        !            49: #
        !            50: # <id> is a unique (within the component) string to be associated
        !            51: #   with an option.
        !            52: #
        !            53: # Example:
        !            54: #
        !            55: #   mouse = xyzmou1
        !            56: #
        !            57: 
        !            58: <component_name> = <id>
        !            59:     .
        !            60:     .
        !            61:     .
        !            62: 
        !            63: 
        !            64: 
        !            65: [<component_name>]
        !            66: 
        !            67: # This section lists the options available for a particular component.
        !            68: #
        !            69: # <id> is the unique string for the option.  For the computer component,
        !            70: #      if this string ends in "_up", setup copies the uniprocessor kernel;
        !            71: #      if this string ends in "_mp", setup copies the multiprocessor kernel;
        !            72: #      if it ends in neither, the results are unspecified (you may
        !            73: #      get either kernel).
        !            74: #
        !            75: # <description> is a text string, presented to the user in a menu.
        !            76: #
        !            77: # Example:
        !            78: #
        !            79: #   [mouse]
        !            80: #   xyzmou1 = "Company XYZ Mouse type 1"
        !            81: 
        !            82: <id> = <description>
        !            83:     .
        !            84:     .
        !            85:     .
        !            86: 
        !            87: 
        !            88: 
        !            89: [Files.<component_name>.<id>]
        !            90: 
        !            91: # This section lists the files that should be copied if the user
        !            92: # selects a particular component option.
        !            93: #
        !            94: # <file_type> is one of driver, port, class, dll, hal, inf, or detect.
        !            95: #   (see descriptions below).
        !            96: #
        !            97: # <source_disk> identifies where the file is to be copied from, and must
        !            98: #   match en entry in the [Disks] section.
        !            99: #
        !           100: # <filename> is the name of the file. This will be appended to the
        !           101: #   directory specified for the disk in the [Disks] section to form the
        !           102: #   full path of the file on the disk.
        !           103: #
        !           104: # <configname> if the file is of type driver, port, or class, then this
        !           105: #   value is used to form the name of the section containing configuration
        !           106: #   info to be set in the registry.  The name of the section is of the
        !           107: #   form [Config.<configname>] (see below).
        !           108: #
        !           109: # Example:
        !           110: #
        !           111: #   [Files.mouse.xyzmou1]
        !           112: #   port = d1,xyzmou1p.sys,xyzmou1p
        !           113: 
        !           114: 
        !           115: <file_type> = <source_disk>,<filename>,<configname>
        !           116:     .
        !           117:     .
        !           118:     .
        !           119: 
        !           120: 
        !           121: 
        !           122: [Config.<configname>]
        !           123: 
        !           124: # This section specifies values to be set in the registry for
        !           125: # particular component options.  Required values in the services key
        !           126: # are created automatically -- use this section to specify additional
        !           127: # keys and value to be created in services\<keyname>.
        !           128: #
        !           129: # <key_name> is relative to the services node for this device.
        !           130: #   If it is empty (ie, ""), then it refers to the services node itself.
        !           131: #   If specified, the key is created.
        !           132: #
        !           133: # <value_name> specifies the value to be set within the key.
        !           134: #
        !           135: # <value_type> is a string like REG_DWORD.  See below.
        !           136: #
        !           137: # <value> specifies the actual value; its format depends on <value_type>
        !           138: #   See below.
        !           139: #
        !           140: # Example:
        !           141: #
        !           142: #   [Config.xyzmou1p]
        !           143: #   value = "",MyValue,REG_DWORD,0
        !           144: #   value = NewKey,NewValue,REG_SZ,"this is a value"
        !           145: 
        !           146: value = <key_name>,<value_name>,<value_type>,<value>...
        !           147:     .
        !           148:     .
        !           149:     .
        !           150: 
        !           151: 
        !           152: 
        !           153: ####################################################################
        !           154: 
        !           155: 
        !           156: <file_type> in [Files.<component_name>.<id>] sections
        !           157: -----------------------------------------------------
        !           158: 
        !           159: driver:
        !           160: 
        !           161: port/driver:
        !           162: 
        !           163:     Valid for computer, display, mouse, keyboard, and scsi components.
        !           164:     Required for display, mouse, keyboard, and scsi.
        !           165:     File is copied to <winnt>\system32\drivers.
        !           166: 
        !           167: class:
        !           168: 
        !           169:     Valid for computer, mouse, and keyboard components.
        !           170:     Not required for any components.
        !           171:     If specified, replaces the standard class driver.
        !           172:     File is copied to <winnt>\system32\drivers.
        !           173: 
        !           174: dll:
        !           175: 
        !           176:     Valid for all components.
        !           177:     Required for Display and Keyboard Layout components.
        !           178:     File is copied to <winnt>\system32.
        !           179: 
        !           180: hal:
        !           181: 
        !           182:     Valid and required for computer component.
        !           183:     File is copied to <winnt>\system32\hal.dll (x86)
        !           184:     File is copied to \os\nt\hal.dll on the system partition (ARC)
        !           185: 
        !           186: inf:
        !           187: 
        !           188:     Valid for all components.
        !           189:     Not required for any components.
        !           190:     File is copied to <winnt>\system32.  Setup automatically renames the
        !           191:     files to make it usable with maintenance setup.
        !           192: 
        !           193: detect:
        !           194: 
        !           195:     x86 only.
        !           196:     Valid for the computer component.
        !           197:     Not required for any component.
        !           198:     If specified, replaces the standard x86 hardware recognizer.
        !           199:     File is copied to c:\ntdetect.com.
        !           200: 
        !           201: 
        !           202: ####################################################################
        !           203: 
        !           204: 
        !           205: <value_type> fields in [Config.<configname>] sections
        !           206: --------------------------------------------------------------
        !           207: 
        !           208: REG_DWORD:
        !           209: 
        !           210:     One <value> is allowed; it must be a string of 1-8 hex digits.
        !           211: 
        !           212:     Example:
        !           213: 
        !           214:         value = parameters,XResolution,REG_DWORD,1fE
        !           215: 
        !           216: 
        !           217: REG_SZ, REG_EXPAND_SZ:
        !           218: 
        !           219:     One <value> is allowed; it is interpreted as the string to be stored.
        !           220: 
        !           221:     Example:
        !           222: 
        !           223:         value = parameters,Description,REG_SZ,"This is a text string"
        !           224: 
        !           225: 
        !           226: REG_BINARY:
        !           227: 
        !           228:     One <value> is allowed; it is a string of hex digits, each pair of
        !           229:     which is interpreted as a byte value.
        !           230: 
        !           231:     Example (stores the byte stream 00,34,ec,4d,04,5a):
        !           232: 
        !           233:         value = parameters,Data,REG_BINARY,0034eC4D045a
        !           234: 
        !           235: 
        !           236: REG_MULTI_SZ:
        !           237: 
        !           238:     multiple <value> are allowed; each is interpreted as a component of
        !           239:     the multisz.
        !           240: 
        !           241:     Example:
        !           242: 
        !           243:         value = parameters,Strings,REG_MULTI_SZ,String1,"String 2",string3
        !           244: 
        !           245: 
        !           246: ####################################################################
        !           247: 
        !           248: # Example 1: mouse
        !           249: 
        !           250: [Disks]
        !           251: d1 = "Company XYZ Mouse Support Disk",\xyzmou1.tag,\
        !           252: 
        !           253: [Defaults]
        !           254: # Specifiy a default for the mouse
        !           255: mouse   = xyzmou2
        !           256: 
        !           257: #
        !           258: # Mouse stuff
        !           259: #
        !           260: 
        !           261: [mouse]
        !           262: xyzmou1 = "Company XYZ Mouse type 1"
        !           263: xyzmou2 = "Company XYZ Mouse type 2"
        !           264: 
        !           265: [Files.mouse.xyzmou1]
        !           266: # Mouse type 1 needs only a port driver and uses the standard
        !           267: # Windows NT mouse class driver.
        !           268: driver = d1,xyzmou1p.sys,xyzmou1p
        !           269: 
        !           270: [Files.mouse.xyzmou2]
        !           271: # Mouse type 1 needs only a port driver and uses its own class driver.
        !           272: port  = d1,xyzmou2p.sys,xyzmou2p
        !           273: class = d1,xyzmou2c.sys,xyzmou2c
        !           274: 
        !           275: [Config.xyzmou1p]
        !           276: value = Parameters,MouseDataQueueSize,REG_DWORD,64
        !           277: value = Parameters,NumberOfButtons,REG_DWORD,2
        !           278: value = Parameters,SampleRate,REG_DWORD,28
        !           279: 
        !           280: [Config.xyzmou2p]
        !           281: value = Parameters,MouseDataQueueSize,REG_DWORD,64
        !           282: value = Parameters,NumberOfButtons,REG_DWORD,2
        !           283: value = Parameters,SampleRate,REG_DWORD,32
        !           284: value = Parameters,HzMode,REG_DWORD,2
        !           285: value = Parameters,PointerDeviceBaseName,REG_SZ,PointerPort
        !           286: 
        !           287: [Config.xyzmou2c]
        !           288: value = Parameters,MouseDataQueueSize,REG_DWORD,64
        !           289: value = Parameters,MaximumPortsServiced,REG_DWORD,3
        !           290: value = Parameters,ConnectMultiplePorts,REG_DWORD,1
        !           291: 
        !           292: 
        !           293: # Example 2: display
        !           294: 
        !           295: [Disks]
        !           296: d1 = "Company XYZ Video Support Disk",\xyzdisp1.tag,\
        !           297: 
        !           298: [display]
        !           299: xyzdisp1 = "Company XYZ Display"
        !           300: 
        !           301: [Files.display.xyzdisp1]
        !           302: port = d1,xyzdisp.sys,xyzdisp
        !           303: dll  = d1,xyzdisp.dll
        !           304: inf  = d1,oemsetup.inf
        !           305: 
        !           306: [Config.xyzdisp]
        !           307: value = "",MyVal,REG_DWORD,7
        !           308: value = Device0,VgaCompatible,REG_DWORD,0
        !           309: value = Device0,InstalledDisplayDrivers,REG_MULTI_SZ,xyzdisp
        !           310: value = Device0,DefaultSettings.BitsPerPel,REG_DWORD,8
        !           311: value = Device0,DefaultSettings.XResolution,REG_DWORD,500
        !           312: value = Device0,DefaultSettings.YResolution,REG_DWORD,400
        !           313: value = Device0,DefaultSettings.VRefresh,REG_DWORD,3c
        !           314: value = Device0,DefaultSettings.Interlaced,REG_DWORD,0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.