SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Does FeatureInstalled get called when feature deployed through a solution

Last post 05-29-2008, 3:55 PM by aidangarnish. 2 replies.
Sort Posts: Previous Next
  •  05-15-2008, 11:50 AM 10732

    Does FeatureInstalled get called when feature deployed through a solution

    I'm trying to run some custom code in the FeatureInstalled method of a SPFeatureReceiver

    It doesn't seem to get called when installed through a wsp solution package

    Am I correct, or does it actually get called? Anyway to ensure it gets called?

    Thanks

    Saul

  •  05-20-2008, 10:48 AM 10874 in reply to 10732

    Re: Does FeatureInstalled get called when feature deployed through a solution

    Saul wrote:

    I'm trying to run some custom code in the FeatureInstalled method of a SPFeatureReceiver

    It doesn't seem to get called when installed through a wsp solution package

    Am I correct, or does it actually get called? Anyway to ensure it gets called?

    Thanks

    Saul

     

    Have you tried using FeatureActivated instead?

  •  05-29-2008, 3:55 PM 11064 in reply to 10874

    Re: Does FeatureInstalled get called when feature deployed through a solution

    It won't be called as you install the solution. It will be called when you activate the feature.
    http://aidangarnish.net/blog
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems