language XML Element

[DIFx is deprecated, for more info, see DIFx Guidelines.]

The language XML element localizes and customizes the items that DPInst displays on its wizard pages.

Element Tag

<language>

XML Attributes

Code

A language identifier in hexadecimal format or decimal format.

Element Information

Parent elements

dpinst

Child elements

dpinstTitle (zero or one)

eula (zero or one)

eulaHeaderTitle (zero or one)

eulaNoButton (zero or one)

eulaYesButton (zero or one)

finishText (zero or one)

finishTitle (zero or one)

headerPath (zero or one)

icon (zero or one)

installHeaderTitle (zero or one)

watermarkPath (zero or one)

welcomeIntro (zero or one)

welcomeTitle (zero or one)

Data contents

None permitted

Duplicate child elements

None permitted

Remarks

You can use a language element to localize and customize text, the icon, and bitmaps that DPInst displays on its wizard pages. The icon represents DPInst on the Microsoft Windows taskbar, and Windows desktop.

DPInst also uses this icon for the entries that are added to Programs and Features in Control Panel. These entries represent the driver packages that DPInst installs.

Note  In versions of Windows earlier than Windows Vista, DPInst added these entries to Add or Remove Programs in Control Panel.

To customize the items that appear on the wizard pages in the English-only version of DPInst, use a language element that specifies the English (Standard) language and include child elements of the language element that customize the items. To localize and customize the items that appear on the DPInst wizard pages in the multi-language version of DPInst, use a language element that specifies the language and include child elements of the language element that customize the items.

The following code example demonstrates a language element that specifies the English (Standard) language and includes customized dpinstTitle and welcomeTitle XML child elements. The text that specifies the custom text is shown in bold font type.

<dpinst>
  ...
  <language code="0x0409">
    ...
    <dpinstTitle>Toaster Device Installer</dpinstTitle>
    <welcomeTitle>Welcome to the toaster Installer!</welcomeTitle>
    ...
  </language>
  ...
</dpinst>

If a dpinstTitle element is not specified, DPInst displays the default title bar text that appears on the default welcome page.

See also

dpinstTitle

eula

eulaHeaderTitle

eulaNoButton

eulaYesButton

finishText

finishTitle

headerPath

icon

installHeaderTitle

watermarkPath

welcomeIntro

welcomeTitle