http://support.microsoft.com/Default.aspx?id=898631
Here's the meat, I have highlighted the key points:
When you work with custom site definitions or custom area definitions, the following scenarios are supported:
When you work with custom site definitions or custom area definitions, the following scenarios are not supported: