Solved

Duplicating Features from SharePoint 2010 and adding them to SharePoint Foundation 2010

Posted on 2013-02-05
2
170 Views
Last Modified: 2013-02-07
Can I copy the kpi feature from SP 2010 to Foundation 2010 and deploy it as a new feature? Theoretically, it would seem possible to just copy the right folder(s) from Features, or Solutions or Templates, if needed, and install them on Foundation. Maybe I might have to change the guids, although I don't think I would even need to do that as long as it will never be on the same box as it's originator is. So what would prevent this from working? Seems to me, when you get a more expensive version, that all Microsoft does is to add more features programatically but these are added in the same way anybody adds a feature of their own.

Thanks.
0
Comment
Question by:BobHavertyComh
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 38856828
Hi,
from my experience:
There are two installers:
- Foundation
- Server
The license of the SharePoint server can be changed in Central admin, therefore the installer must include everything you need - it is just a matter of what features you see in the UI/Powershell...

Second I think that just copying the feature folders will not be enough. There are custom DLLs deployed very deep into the GAC, precompiled and also a lot of COM references and add-ins.
Therefore it is not possible to debug SharePoint code on your local machine by just copying the DLLs and references.

And the third aspect is the regulatory side:
Even if it would just be a paper license, you would simply violate the license agreements.

HTH
Rainer
0
 
LVL 9

Author Comment

by:BobHavertyComh
ID: 38856922
Yes, I understand the regulatory side, this is more of a theoretical question to learn how this stuff works. I'm not actually going to do this because I would have to completely remove it if there was an upgrade or else all hell would break loose.

If, for example, the KPI feature was added the same way any developer adds a feature of his own, why would the GAC, COM references etc.....be a factor? If I deploy a custom feature, if there are any issues with GAC, COM, it seems as though the installation takes care of all of that for me.

So why would my new feature be able to be added without me knowing the GAC and COM aspects, but KPI has to use or reference the GAC and COM in some way that a regular feature installation performed by me will not take care of?

Essentially, besides having an upgrade installation do it for you, what is the difference between the deployment of a KPI during an upgrade from Foundation to SP and the deployment of a custom feature to Foundation, copied from KPI, that does the same thing? Does it have something to do with whether the KPI is a core feature and therefore has some special locks and requirements that new custom features that I add don't have? Could these be found and removed or edited in the xml files?
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question