Pascal Scripting: WizardIsComponentSelected

Prototype:

function WizardIsComponentSelected(const Components: String): Boolean;

Description:

Returns True if the specified component is selected. Multiple components may be specified in the same manner as in a Components parameter.

Example:
begin
  if WizardIsComponentSelected('helpfiles') then
    // the 'helpfiles' component is selected
end;
See also:

WizardSelectedComponents
WizardSelectComponents