I am trying to activate a SharePoint feature through code. SPWeb.Features.Add(new GUID("XXXXXX")
This above line is written in featureinstalled event handler where I am reading all the sites on the farm and activating the feature on each site.
But upon activation it is not calling / trigger the featureactivated event handler where I have some code to run. Can someone suggest how to trigger that event.