OnFilterComponents

InstallShield 2016 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

The OnFilterComponents event handler is called directly by the InstallScript engine to handle feature filtering—that is, the including and excluding of features’ components in the file transfer based on their Language and Operating System settings.

Syntax

OnFilterComponents ( );

Parameters

None.

Return Values

None.

Additional Information

By default, OnFilterComponents calls FeatureFilterLanguage to exclude all components with languages other than the one specified by the SELECTED_LANGUAGE system variable, and calls FeatureFilterOS to exclude all components with operating systems other than the one specified by the SYSINFO variable’s nISOSL member.

This event handler is not called in an installation that uses a procedural script (a script with a program…endprogram block).