Skip to main content
Customizing the EULA Page

The following screen shot shows an example of the default DPInst end-user license agreement (EULA) page in the English (Standard) language. The callouts (for example, "<eulaHeaderTitle>") show the DPInst XML elements that you can use to customize the items on a EULA page.

Screen shot with callouts illustrating customizing a EULA page

The following screen shot shows the localized EULA page for the toaster device whose DPInst descriptor file is listed in DPInst Descriptor File Example.

Screen shot of a custom toaster EULA page

To localize the default bold font style text for the header title on a EULA page, include a eulaHeaderTitle XML element as a child element of a language XML element. For example, the following eulaHeaderTitle element customized the text for the EULA header title on the custom toaster EULA page.


<!--English (Standard) -->
<language code= "0x0409">
  . . .
  <eulaHeaderTitle>End User License Agreement</eulaHeaderTitle>
  . . .
</language>

To localize the default text that is associated with the acceptance option button on the EULA page, include a eulaYesButton XML element as a child element of a language element. For example, the following eulaYesButton element customized the text for the EULA acceptance option button on the custom toaster EULA page.


<!--English (Standard) -->
<language code= "0x0409">
  . . .
  <eulaYesButton>I &amp;accept this EULA</eulaYesButton>
  . . .
</language>

To localize the default text that is associated with the do-not-accept option button, include a eulaNoButton XML element as a child element of a language element. For example, the following eulaNoButton element customized the text for the EULA do-not-accept option button on the custom toaster EULA page.


<!--English (Standard) -->
<language code= "0x0409">
  . . .
  <eulaNoButton>I do n&amp;ot accept this EULA</eulaNoButton>
  . . .
</language>

To localize the default icon that is displayed on the EULA page, include an icon XML element as a child element of a language element. To customize, but not localize, the icon, include an icon element as a child element of a dpinst XML element. DPInst also uses the icon to represent DPInst on the taskbar and desktop and to represent the entry for a driver package in Programs and Features in Control Panel.

Note  In versions of Windows earlier than Windows Vista, DPInst added the entry for the driver package to Add or Remove Programs in Control Panel.

If you do not specify a path for a replacement icon file, the file must be in the DPInst root directory, which is the directory that contains the DPInst executable file (DPInst.exe). If you specify a path, the path must be relative to the DPInst root directory. The following code example specifies that the localized icon file for the custom toaster EULA page is located in the Data subdirectory under the DPInst root directory.


<!--English (Standard) -->
<language code= "0x0409">
 . . .
<icon>Data\Eula.ico</icon>
 . . .
</language>

To localize the header bitmap that appears in the upper-right corner of the EULA page, include a headerPath XML Element XML element as a child element of a language element. To customize, but not localize, the icon, include an icon element as a child element of a dpinst element. If you do not specify a path for a replacement header bitmap file, the file must be in the DPInst root directory. If you specify a path, the path must be relative to the DPInst root directory. The following code example specifies that the localized header bitmap file for the custom toaster EULA page is located in the Data subdirectory under the DPInst root directory.


<!--English (Standard) -->
<language code= "0x0409">
  . . .
<headerPath>Data\Header.bmp</headerPath>
  . . .
</language>
Note   The header bitmap that is localized, or customized but not localized, by a headerPath element is also used on the installation page.

The title bar text, "Toaster Device Installer", on the custom toaster EULA page is localized by a dpinstTitle XML element. A dpinstTitle element localizes the title bar text that is shown on all of the wizard pages and is described in Customizing the Welcome Page.

For more information about how to supply the EULA text, see Specifying EULA Text.

For more information about the DPInst XML elements, see DPInst XML Elements.

 

 

Send comments about this topic to Microsoft