Accessing the Setup Type at Run Time

InstallShield 2016 Express Edition

The _IsSetupTypeMin property stores the setup type that the end user selects in the Setup Type dialog.

To access the selected setup type during the run time of an installation, do one of the following:

Use the Windows Installer MsiGetProperty function in a new DLL custom action.
Use the following VBScript code:

' Get the value of the setup type selected

Dim sSetupType

sSetupType= Session.Property("_IsSetupTypeMin")

 

' Show it.

MsgBox sSetupType

The _IsSetupTypeMin property contains only the default setup type names—Typical, Minimal, and Custom. If you rename Minimal in the Setup Types view to MySetupType and the end user selects the renamed setup type, _IsSetupTypeMin will contain Minimal and not MySetupType.

See Also