I want to install site template in SharePoint 2010. Basically i want to know how use install-spwebtemplate
wsp name : SPT_SiteTemplate.wsp Name : SPT_SiteTemplate
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
In SP2010 you can create web templates that can be deployed as either farm or site scoped features.
Install-spwebtemplate is used for legacy templates so this is not what you should use (confusing, i know, especially since
get-spwebtemplates works for showing installed templates)
If you create your custom web template as a sandboxed solution you can upload your solution to your site either using UI or by using
add-spusersolution. Then you activate your solution and activate your feature, and your web template should now show when creating new sites.
Alternatively you can create a farm solution and a farm scoped feature. This is added using
Add-spsolution and feature must me activated under farm solutions in central administration.
More info on creating custom web templates in visual studio here.
Another option is to save your site as a template and upload that directly as with sandboxed solutions.