Export (0) Print
Expand All

Customizing Driver Installation

DPInst supports using an optional DPInst descriptor file, setting optional DPInst command-line switches, and examining the DPInst return code to customize driver installation.

You can use a DPInst descriptor file to:

  • Enable (and disable) language support (in the multi-language version of DPInst only).

  • Customize the text, icon, and bitmaps that appear on the DPInst wizard pages.

  • Specify the location of driver packages in the installation package.

  • Set configuration flags that suppress the display of DPInst wizard pages and other user messages, control certain aspects of driver installation, and control whether DPInst adds entries 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 the entry for the driver package to Add or Remove Programs in Control Panel.

In addition to using a DPInst descriptor file to configure DPInst, you can use DPInst command-line switches to do the following:

  • Set configuration flags.

  • Specify language support.

  • Uninstall driver packages.

  • Configure DPInst to display log messages in a Command Prompt window if DPInst is called from a Command Prompt window, or, if DPInst is not called from a command prompt, to display log messages in a message box.

  • Retrieve help information about the DPInst command-line switches.

Finally, when the DPInst executable file completes the installation, it returns a return code to the application that called it. You can use this return code to determine the status of the driver installation when you run DPInst from a command prompt or call it from a higher-level installation application. For more information about how to use the return code, see DPInst Return Code.



Send comments about this topic to Microsoft

© 2015 Microsoft