DPInst Descriptor File Example
This topic provides an example of a DPInst descriptor file for a fictitious toaster driver package that localizes the customizable text that appears on the DPInst wizard pages. The example also customizes, but does not localize, the icon and bitmaps that appear on the DPInst wizard pages. However, this example does not include any of the DPInst XML elements that set DPInst configuration flags. For a description of the DPInst XML elements that are used in the example, see Summary of the DPInst XML Elements.
This example uses a bold font style to distinguish between the element tags and the customized XML attributes and content. This font style does not correspond to the text font style that appears on the wizard pages. DPInst does not support customizing the font style or formatting of the wizard text.
<?xml version="1.0" ?> <dpinst> <!-- The following search and subDirectory elements direct DPInst to search all subdirectories (under the DPInst working directory) to locate driver packages. --> <search> <subDirectory>*</subDirectory> </search> <!-- The following language element localizes its child elements for the English (Standard) language. The child elements customize the text that appears on the DPInst wizard pages. --> <language code="0x0409"> <dpinstTitle>Toaster Device Installer</dpinstTitle> <welcomeTitle>Welcome to the toaster Installer!</welcomeTitle> <welcomeIntro>This wizard will walk you through updating the drivers for your Toaster device.</welcomeIntro> <eulaHeaderTitle>End User License Agreement</eulaHeaderTitle> <eulaYesButton>I &accept this EULA</eulaYesButton> <eulaNoButton>I do n&ot accept this EULA</eulaNoButton> <installHeaderTitle>Installing the software for your Toaster device...</installHeaderTitle> <finishTitle>Congratulations! You are finished installing your Toaster device.</finishTitle> <finishText>Enjoy using the Toaster.</finishText> <eula type="txt" path="Data\Eula409.txt"/> </language> <!-- The following three elements customize, but do not localize, the icon and bitmaps that appear on the DPInst wizard pages. --> <icon>Data\Eula.ico</icon> <headerPath>Data\Header.bmp</headerPath> <watermarkPath>Data\Watermark.bmp</watermarkPath> </dpinst>
Note The "&" entry in the text of the eulaYesButton and eulaNoButton XML elements indicates that the character that follows "&" is a keyboard access key. For more information about how to specify access keys, see the guidelines for keyboard user interface design in the Microsoft Windows SDK documentation.
Build date: 5/16/2013