I want to have an event receiver on site collection creation, but it is not available. So as an alternative way i think of writing a custom feature, and associating it with the default publishing site template.
Is that possible?
So that everytime a site collection instance is created (publishig site) my code will execute.
As a note: My aim is; i want to make some initial work when the site collection of my project is created: Like deleting the default coming Press Releases site. (These kind of things can be achieved with custom site definitions or web templates, but i don't want to create custom site definition)