Exclude a component from a directive file

I have a project file with several components. I want to build a version of my package that does not include one of the components. Is there a way to do that with a directive file? I tried FileMaskExclude=* but it still includes the files (I have noticed that LiveUpdate does not remove existing files–only adds new files). I also tried leaving the component out of the [Components] section in the file.

No, this feature does not exist, but it was added to our TODO list.