PreShowComponentDlg

InstallShield 2026 » InstallScript Language Reference

Caution:This function is not supported in InstallShield because it is no longer required. The functions that required PreShowComponentDlg in InstallShield Professional 2.03 are not supported for use in Basic MSI projects. If you want to use one of these functions in your setup project, you must convert your Basic MSI project to the InstallScript MSI project type and add the function to the script.

The PreShowComponentDlg function converts InstallShield–Windows Installer Edition features to InstallShield Professional components. It also initializes feature costing functionality.

Syntax

PreShowComponentDlg (hMSI);

Parameters

PreShowComponentDlg Parameters

Parameter

Description

hMSI

The handle to the Windows Installer (MSI) database that is passed to your entry-point function.

Return Values

PreShowComponentDlg Parameters

Return Value

Description

0

Indicates that the function successfully converted Windows Installer features to InstallShield Professional components.

< 0

Indicates that the function was unable to convert Windows Installer features to InstallShield Professional components.