We recently released version 19.4.0 and 19.4.1. Among other improvements and bug fixes, we have extended the <componentTest> rule which now allows you to check if a parent component is selected. You can do so by setting the new <checkParentComponents> property.
<componentTest>
<logic>selected</logic>
<name>childcomponent</name>
<checkParentComponents>1</checkParentComponents>
</componentTest>
Here is the full list of improvements for both releases.
Version 19.4.1:
Fixed incorrect final page layout on macOS when enabling the osx-x86_64 runtime
Improved <setInstallerVariableFromRegEx> error reporting
Version 19.4.0
Improved <getPermissions> error reporting when operating over non-existent files
Fixed Windows AutoUpdate generation failing because of malformed default icon
Allow <componentTest> rule to take into account parent components in its checks