Solved

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

Posted on 2013-02-05
2
147 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
Comment Utility
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
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now