After several frustrating hours of trying to deploy and activate a simple ListInstance as part of our feature, we finally discovered the “magic” encoding in the FeatureId to get this to work. We continued to get the following error, until we made the change to append the TemplateType number to the FeatureId: Feature ‘{some GUID}’ for list template ’100′ is not installed in this farm. The operation could not be completed.
<Elements Id=”6330A8CD-2C66-4f12-83C9-9C350652A685″ xmlns=”http://schemas.microsoft.com/sharepoint/”>
<ListInstance FeatureId=”00bgea71-de22-43b2-a848-c05709900100“
Title=”Number Generator List”
RootWebOnly=”FALSE”
TemplateType=”100“
Url=”PPCounter”>
</ListInstance>
<ContentTypeBinding ContentTypeId=”0x0100781AE3E9422A4256881E869733E0FBA4″ ListUrl=”PPCounter”/>
</Elements>