Bewerken

Share via


Database.EnableUIPreview method

The EnableUIPreview method of the Database object facilitates the authoring of dialog boxes and billboards by providing the support needed to view user interface dialog boxes stored in the installer database. The method starts the preview mode by returning a preview Database object. The preview mode ends when the preview object is released.

Syntax

Database.EnableUIPreview()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Requirement Value
Version
Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
DLL
Msi.dll
IID
IID_IDatabase is defined as 000C109D-0000-0000-C000-000000000046