PostShowComponentDlg

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 PostShowComponentDlg function converts InstallShield Professional components back to InstallShield–Windows Installer Edition features. You must call PostShowComponentDlg after calling a component dialog or function in your script. This function selects Windows Installer features based upon component selection.

Syntax

PostShowComponentDlg (hMSI);

Parameters

PostShowComponentDlg Parameters

Parameter

Description

hMSI

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

Return Values

PostShowComponentDlg Return Values

Return Value

Description

0

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

< 0

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