Inno Setup Preprocessor: FindSection

Prototype

int FindSection(str Section = "Files")

Description

Returns the 0-based index of the line following the header of the section, or less than 0 if the section was not found. This function is intended to be used with insert directive.

Declared in ISPPBuiltins.iss.