You then build an ltoc by asking each resource for its contents, and merging these in. Then you apply filters to the ltoc. The syntax of a config file, however, makes it difficult to specify all the possible combinations of resources, filters etc. Subclasses of resource and filter should also be fairly easy to do. Also in the MEInc.
Dist package is a module called icon .
It performs the magic required to change the icon of the exe you build.