Will Install-SPFeature do an IISReset

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

July 29th, 2015 2:57pm

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.

Free Windows Admin Tool Kit Click here and download it now
July 30th, 2015 12:19am

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

July 30th, 2015 10:53pm

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.

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 12:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics