Every component has a key path; the most common is a file. Your component doesn’t have a file or other key path, so WiX gives it the default of a directory. Windows Installer then comes along and says that components with directory key paths must ensure the directory is created, even if something else will do so. It’s a silly rule with an easy fix.