Create a custom content type by inheriting from any one of the standard Windows SharePoint Services content types.
Make sure that ID of your custom content type should be RegistrationId of the customaction in the element file tag.Also make sure that the RegistrationType in CustomAction tab is set to ContentType.
Create and deploy feature.
Create a list which will be using the custom content type that you have created above.
For more info: http://msdn.microsoft.com/en-us/library/ms473643.aspxMethod 2.
Create a feature as shown below:
Create a Elements.xml as shown below:
Elements xmlns="http://schemas.microsoft.com/sharepoint/" Id="0A9C0CE0-7EAE-47c3-8209-54A872250E08?>
Now create a folder named as "CustomListAction" and addAllitems.aspx,DispForm.aspx,EditForm,NewForm and Schema.xml. Note: The ListTemplate Name and folder name should be same.
Copy Feature.xml,Elements.xml and CustomListAction folder in CustomListActionFeature folder
and install in Feature directory in 12 hive Using stsadm command. stsadm -o installfeature -filename CustomListActionFeature\Feature.xml
stsadm -o activatefeature -name CustomListActionFeature -url http://mossportal/
and finally do iisreset
Now create List from newly installed ListTemplate
thats it !!!!!.