Partager via


Branding Overview

To show product information in the splash screen or Help About dialog box, your VSPackage must either:

  • Provide detailed product information under the InstalledProducts registry key.

    -or-

  • Implement IVsInstalledProduct.

The managed package framework (MPF) provides the InstalledProductRegistrationAttribute attribute to control registration under the InstalledProducts registry key. For more information, see How to: Brand a VSPackage (C# and Visual Basic).

The Visual Studio Library provides the IVsInstalledProductImpl template class to create an implementation of IVsInstalledProduct. For more information, see How to: Brand a VSPackage (C++).

Implementing IVsInstalledProduct explicitly is more powerful than using the attribute or template.

  • You can specify a splash screen icon that differs from the Help About icon.

  • You can specify a splash screen product name that differs from the Help About product name.

    Important

    If you use InstalledProductRegistrationAttribute and also implement IVsInstalledProduct, the interface takes precedence.

    Notes

    The same icon resource is used for the splash screen and the Help About dialog box. Your VSPackage icon resource should include a 16 × 16 image for the splash screen and a 32 × 32 image for the Help About dialog box. If you provide only one image size, it will be resized as needed, but the visual results will be suboptimal.

For a list of related tasks, see VSPackages.

See Also

Concepts

Visual Studio Library Overview

Other Resources

VSPackages