If I have a mod with several components and the first is a required component for the other ones, tagging the optional components with REQUIRE_FILE with a file that is installed with the main component doesn't lead to an automated deinstall of the optional components. i.e. if the main component gets deinstalled, the optional components will all be reinstalled. I can even install subcomponents I didn't install before, giving a weidu.log without the main component but the chosen subcomponents.
If I use the restriction REQUIRE_COMPONENT with the main component however, all subcomponents get removed accordingly.
I guess it's something due to how the removing of files is done while processing an install/deinstall run?