I know that MsiEnumFeatures is the goto API for detecting what features are installed by a given MSI, but I'm finding that it doesn't return any features where the InstallLevel was set to '0' at install time.
Scenario: I have an MSI with 20 features: 10 get installed, 5 are not selected for installation, and 5 are also not installed AND not supported (InstallLevel = 0).
When I call MsiEnumProducts and loop through the features I'll end up having only the first 15 returned to me.
Why does it not return the last 5? Is there any API to give me that or do I simply have to run a SQL query against the File table to get a list of all the features?