I have added FeatureEventReceiver to the solution and here is my code,
public override void FeatureInstalled(SPFeatureReceiverProperties properties)
{
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite site = new SPSite("http://itcdev33"))
{
using (SPWeb web = site.RootWeb)
{
web.AllowUnsafeUpdates = true;
site.AllowUnsafeUpdates = true;
Guid myid = new Guid("32529c03-833d-4c5e-a15e-0bcb35bdedad");
if (site.Features[myid] == null)
{
site.Features.Add(myid, true, SPFeatureDefinitionScope.Site);
}
web.Update();
site.AllowUnsafeUpdates = false;
web.AllowUnsafeUpdates = false;
}
}
});
}