TxtSetup.oem File Format
During the text-mode setup phase of operating system installation, Windows installs drivers for devices that are required to boot the machine. Most of these drivers are included with the operating system. A vendor can enable users to install an additional driver during text-mode setup by supplying a TxtSetup.oem file on a floppy disk.
A TxtSetup.oem file is a text file that contains the following information:
A list of the hardware components supported by the TxtSetup.oem file
A list of the files to copy from the distribution disk for each component
A list of the registry keys and values to create for each component
This section describes the format of a TxtSetup.oem file. For additional information, see Installing a Boot-Start Driver.
A TxtSetup.oem file consists of several sections that use the following general format:
[SectionName]
entry = value1,value2,...
The name of the section is enclosed in square brackets ([ ]). A pound sign (#) or semicolon character (;) at the beginning of a line indicates a comment. Strings with embedded spaces, commas, or hashes must be enclosed in double quotes (" ").
A TxtSetup.oem file must include the following sections:
A Disks section
See Disks Section of a TxtSetup.oem File for further information.
A Defaults section
See Defaults Section of a TxtSetup.oem File for further information.
One or more HwComponent sections
See HwComponent Section of a TxtSetup.oem File for further information.
One or more **Files.HwComponent.**ID sections
See Files.HwComponent.ID Section of a TxtSetup.oem File for further information.
One or more **Config.**DriverKey sections
See Config.DriverKey Section of a TxtSetup.oem File for further information.
A TxtSetup.oem file for a PnP mass storage device must also include the following section:
A **HardwareIds.scsi.**Service section
See HardwareIds.scsi.ID Section of a TxtSetup.oem File for further information.
A sample TxtSetup.oem file is provided with the WDK, under the installed src subdirectory.