Windows Driver Kit: Device Installation
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 TxtSetupTxtSetup.oem file on a floppy disk.
A TxtSetupTxtSetup.oem file is a text file that contains the following information:
- A list of the hardware components supported by the TxtSetupTxtSetup.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 TxtSetupTxtSetup.oem file. For additional information, see Installing a Boot-Start Driver.
A TxtSetupTxtSetup.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 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 directory.