Pascal Scripting: IsComponentSelected

Inno Setup

Pascal Scripting: IsComponentSelected

Prototype:

function IsComponentSelected(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 IsComponentSelected('helpfiles') then
    // the 'helpfiles' component is selected
end;