The txtsetup.oem File Format
During the text-mode setup phase of operating system installation, the Setup program 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 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 sectionSee Disks Section of a txtsetup.oem File for further information.
- A Defaults sectionSee Defaults Section of a txtsetup.oem File for further information.
- One or more HwComponent sectionsSee HwComponent Section of a txtsetup.oem File for further information.
- One or more Files.HwComponent.ID sectionsSee Files.HwComponent.ID Section of a txtsetup.oem File for further information.
- One or more Config.DriverKey sectionsSee 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 sectionSee HardwareIds.scsi.ID Section of a txtsetup.oem File for further information.