Skip to main content
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:

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 TxtSetup.oem file for a PnP mass storage device must also include the following section:

A sample TxtSetup.oem file is provided with the WDK, under the installed src subdirectory.



Send comments about this topic to Microsoft