none
Will Install-SPFeature do an IISReset RRS feed

  • Question

  • Will Install-SPFeature do an IISReset

    I will copy my feature files in 15 hive manually and will install the feature using the above command using the powershell on the server. Will that really involve a iisreset?

    Thanks

    Manu

    Wednesday, July 29, 2015 6:54 PM

Answers

  • Hi,

    I'm not sure if you can copy in 15 hive and then install that feature. Even if you can, you should not do that as it's not recommended and you might leave the SharePoint Farm in unhealthy state.

    Why don't you use SharePoint Solution/WSP to package your feature? This will ensure if you deploy the solution the features are deployed in correct folders and servers (if you have multiple). Also when you will retract the solution SharePoint will delete/deregister required features from the farm.


    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

    Thursday, July 30, 2015 4:16 AM
  • Hi,

    I suggest you develop your feature using visual studio, you can create a sandbox solution with a feature and deploy it without IISRESET.

    Here is a good blog for deploy solution without downtime for your reference:

    http://blog.ithinksharepoint.com/2012/07/16/deploying-sharepoint-wsp-solutions-without-downtime/

    Best Regards


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, July 31, 2015 2:51 AM
    Moderator
  • Hi,

    Its not mandatory to keep your feature folder in the 15 hive. SharePoint will use it to register and deregister the feature repository and propagate to all WFEs.

    You can pass the path of the feature folder (other than 15 hive folder) on Install-SPFeature cmdlet.

    If your feature is just reusing the built-in features in SharePoint and within site collection scope, I guess it will not recycle the IIS.

    Still I would suggest you to scan the IIS - Recycle Log event entry.


    Murugesa Pandian | MCPD | MCTS | SharePoint 2010 |


    www.murugesan.in

    Please remember to mark your question as answer if this solves your problem.

    Friday, July 31, 2015 4:24 AM

All replies

  • Hi,

    I'm not sure if you can copy in 15 hive and then install that feature. Even if you can, you should not do that as it's not recommended and you might leave the SharePoint Farm in unhealthy state.

    Why don't you use SharePoint Solution/WSP to package your feature? This will ensure if you deploy the solution the features are deployed in correct folders and servers (if you have multiple). Also when you will retract the solution SharePoint will delete/deregister required features from the farm.


    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

    Thursday, July 30, 2015 4:16 AM
  • Hi,

    I suggest you develop your feature using visual studio, you can create a sandbox solution with a feature and deploy it without IISRESET.

    Here is a good blog for deploy solution without downtime for your reference:

    http://blog.ithinksharepoint.com/2012/07/16/deploying-sharepoint-wsp-solutions-without-downtime/

    Best Regards


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, July 31, 2015 2:51 AM
    Moderator
  • Hi,

    Its not mandatory to keep your feature folder in the 15 hive. SharePoint will use it to register and deregister the feature repository and propagate to all WFEs.

    You can pass the path of the feature folder (other than 15 hive folder) on Install-SPFeature cmdlet.

    If your feature is just reusing the built-in features in SharePoint and within site collection scope, I guess it will not recycle the IIS.

    Still I would suggest you to scan the IIS - Recycle Log event entry.


    Murugesa Pandian | MCPD | MCTS | SharePoint 2010 |


    www.murugesan.in

    Please remember to mark your question as answer if this solves your problem.

    Friday, July 31, 2015 4:24 AM